From: Mark Andrews Date: Tue, 2 Oct 2018 21:59:18 +0000 (+1000) Subject: use PRIuFAST32 instead of PRIdFAST32 X-Git-Tag: v9.13.4~133^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d4cc0b98de078715369cb5bac3475574b9e678b3;p=thirdparty%2Fbind9.git use PRIuFAST32 instead of PRIdFAST32 --- diff --git a/lib/isc/mem.c b/lib/isc/mem.c index 16609cb7523..f86323e29ec 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 */