]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
use PRIuFAST32 instead of PRIdFAST32
authorMark Andrews <marka@isc.org>
Tue, 2 Oct 2018 21:59:18 +0000 (07:59 +1000)
committerMark Andrews <marka@isc.org>
Tue, 2 Oct 2018 21:59:18 +0000 (07:59 +1000)
lib/isc/mem.c

index 16609cb75230803af911601e948ca527b3a783cc..f86323e29ec8c4ad2c0465227b11b5854bdf8385 100644 (file)
@@ -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 ? "<unknown>" : 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 */