From: Sean Bright Date: Tue, 17 May 2022 14:18:58 +0000 (-0400) Subject: loader.c: Use portable printf conversion specifier for int64. X-Git-Tag: 16.27.0-rc1~21 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=95daff54ca4cc63dea55d72f44b50213478ae1bd;p=thirdparty%2Fasterisk.git loader.c: Use portable printf conversion specifier for int64. ASTERISK-30060 #close Change-Id: I88d47a1488be2f39017b8d562f993f081844fcb8 --- diff --git a/main/loader.c b/main/loader.c index aafcd3ba1f..4c6c2a809e 100644 --- a/main/loader.c +++ b/main/loader.c @@ -2517,9 +2517,9 @@ done: 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;