2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-30 14:07:59 +00:00

Merge branch '571-use-priufast32-instead-of-pridfast32' into 'master'

Resolve "Use PRIuFAST32 instead of PRIdFAST32"

Closes #571

See merge request isc-projects/bind9!830
This commit is contained in:
Ondřej Surý 2018-10-03 00:37:24 -04:00
commit 1c0fee613f

View 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 */