Commit d4cc0b98 authored by Mark Andrews's avatar Mark Andrews
Browse files

use PRIuFAST32 instead of PRIdFAST32

parent 3e440113
Pipeline #5028 passed with stages
in 8 minutes and 43 seconds
...@@ -2235,7 +2235,7 @@ print_contexts(FILE *file) { ...@@ -2235,7 +2235,7 @@ print_contexts(FILE *file) {
ctx != NULL; ctx != NULL;
ctx = ISC_LIST_NEXT(ctx, link)) ctx = ISC_LIST_NEXT(ctx, link))
{ {
fprintf(file, "context: %p (%s): %" PRIdFAST32 " references\n", fprintf(file, "context: %p (%s): %" PRIuFAST32 " references\n",
ctx, ctx,
ctx->name[0] == 0 ? "<unknown>" : ctx->name, ctx->name[0] == 0 ? "<unknown>" : ctx->name,
isc_refcount_current(&ctx->references)); isc_refcount_current(&ctx->references));
...@@ -2327,7 +2327,7 @@ xml_renderctx(isc__mem_t *ctx, summarystat_t *summary, ...@@ -2327,7 +2327,7 @@ xml_renderctx(isc__mem_t *ctx, summarystat_t *summary,
} }
#endif #endif
TRY0(xmlTextWriterStartElement(writer, ISC_XMLCHAR "references")); TRY0(xmlTextWriterStartElement(writer, ISC_XMLCHAR "references"));
TRY0(xmlTextWriterWriteFormatString(writer, "%" PRIdFAST32, TRY0(xmlTextWriterWriteFormatString(writer, "%" PRIuFAST32,
isc_refcount_current(&ctx->references))); isc_refcount_current(&ctx->references)));
TRY0(xmlTextWriterEndElement(writer)); /* references */ TRY0(xmlTextWriterEndElement(writer)); /* references */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment