2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-31 14:35:26 +00:00

Replace ISC_PRINT_QUADFORMAT with inttypes.h format constants

This commit is contained in:
Ondřej Surý
2018-03-28 14:56:40 +02:00
parent 9e493798c6
commit 64fe6bbaf2
31 changed files with 122 additions and 204 deletions

View File

@@ -14,6 +14,7 @@
#include <config.h>
#include <stdlib.h>
#include <inttypes.h>
#include <isc/buffer.h>
#include <isc/dir.h>
@@ -976,7 +977,7 @@ void
cfg_print_uint64(cfg_printer_t *pctx, const cfg_obj_t *obj) {
char buf[32];
snprintf(buf, sizeof(buf), "%" ISC_PRINT_QUADFORMAT "u",
snprintf(buf, sizeof(buf), "%" PRIu64,
obj->value.uint64);
cfg_print_cstr(pctx, buf);
}