[Asterisk-code-review] loader.c: Use portable printf conversion specifier for int64. (asterisk[16])
Friendly Automation
asteriskteam at digium.com
Thu May 19 20:43:15 CDT 2022
Friendly Automation has submitted this change. ( https://gerrit.asterisk.org/c/asterisk/+/18569 )
Change subject: loader.c: Use portable printf conversion specifier for int64.
......................................................................
loader.c: Use portable printf conversion specifier for int64.
ASTERISK-30060 #close
Change-Id: I88d47a1488be2f39017b8d562f993f081844fcb8
---
M main/loader.c
1 file changed, 2 insertions(+), 2 deletions(-)
Approvals:
Joshua Colp: Looks good to me, but someone else must approve
Kevin Harwell: Looks good to me, approved
Friendly Automation: Approved for Submit
diff --git a/main/loader.c b/main/loader.c
index aafcd3b..4c6c2a8 100644
--- a/main/loader.c
+++ b/main/loader.c
@@ -2517,9 +2517,9 @@
usElapsed = ast_tvdiff_us(end_time, start_time);
#ifdef AST_XML_DOCS
- ast_debug(1, "Loader time with AST_XML_DOCS: %ld.%06ld\n", usElapsed / 1000000, usElapsed % 1000000);
+ ast_debug(1, "Loader time with AST_XML_DOCS: %" PRId64 ".%06" PRId64 "\n", usElapsed / 1000000, usElapsed % 1000000);
#else
- ast_debug(1, "Loader time without AST_XML_DOCS: %ld.%06ld\n", usElapsed / 1000000, usElapsed % 1000000);
+ ast_debug(1, "Loader time without AST_XML_DOCS: %" PRId64 ".%06" PRId64 "\n", usElapsed / 1000000, usElapsed % 1000000);
#endif
return res;
--
To view, visit https://gerrit.asterisk.org/c/asterisk/+/18569
To unsubscribe, or for help writing mail filters, visit https://gerrit.asterisk.org/settings
Gerrit-Project: asterisk
Gerrit-Branch: 16
Gerrit-Change-Id: I88d47a1488be2f39017b8d562f993f081844fcb8
Gerrit-Change-Number: 18569
Gerrit-PatchSet: 2
Gerrit-Owner: Sean Bright <sean at seanbright.com>
Gerrit-Reviewer: Friendly Automation
Gerrit-Reviewer: Joshua Colp <jcolp at sangoma.com>
Gerrit-Reviewer: Kevin Harwell <kharwell at digium.com>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20220519/8c6aa6ec/attachment.html>
More information about the asterisk-code-review
mailing list