From: Mark Andrews Date: Mon, 20 Jun 2016 14:25:52 +0000 (+1000) Subject: use ISC_PRINT_QUADFORMAT X-Git-Tag: v9.11.0b1~45 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=278f78a45b51bb0089f95afd8ba1478b3e132af8;p=thirdparty%2Fbind9.git use ISC_PRINT_QUADFORMAT --- diff --git a/lib/isc/buffer.c b/lib/isc/buffer.c index bcb299992a3..30e6293c2f2 100644 --- a/lib/isc/buffer.c +++ b/lib/isc/buffer.c @@ -21,6 +21,7 @@ #include #include +#include #include #include #include @@ -474,7 +475,7 @@ isc_buffer_putdecint(isc_buffer_t *b, isc_int64_t v) { REQUIRE(ISC_BUFFER_VALID(b)); /* xxxwpk do it more low-level way ? */ - l = snprintf(buf, 21, "%lld", v); + l = snprintf(buf, 21, "%" ISC_PRINT_QUADFORMAT "d", v); RUNTIME_CHECK(l <= 21); if (b->autore) { result = isc_buffer_reserve(&b, l);