From d4cc0b98de078715369cb5bac3475574b9e678b3 Mon Sep 17 00:00:00 2001 From: Mark Andrews Date: Wed, 3 Oct 2018 07:59:18 +1000 Subject: [PATCH] use PRIuFAST32 instead of PRIdFAST32 --- lib/isc/mem.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/isc/mem.c b/lib/isc/mem.c index 16609cb752..f86323e29e 100644 --- a/lib/isc/mem.c +++ b/lib/isc/mem.c @@ -2235,7 +2235,7 @@ print_contexts(FILE *file) { ctx != NULL; ctx = ISC_LIST_NEXT(ctx, link)) { - fprintf(file, "context: %p (%s): %" PRIdFAST32 " references\n", + fprintf(file, "context: %p (%s): %" PRIuFAST32 " references\n", ctx, ctx->name[0] == 0 ? "" : ctx->name, isc_refcount_current(&ctx->references)); @@ -2327,7 +2327,7 @@ xml_renderctx(isc__mem_t *ctx, summarystat_t *summary, } #endif TRY0(xmlTextWriterStartElement(writer, ISC_XMLCHAR "references")); - TRY0(xmlTextWriterWriteFormatString(writer, "%" PRIdFAST32, + TRY0(xmlTextWriterWriteFormatString(writer, "%" PRIuFAST32, isc_refcount_current(&ctx->references))); TRY0(xmlTextWriterEndElement(writer)); /* references */