2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-31 06:25:31 +00:00

use %u instead of %d

This commit is contained in:
Mark Andrews
2018-02-15 12:04:33 +11:00
parent 4955c45c94
commit b513bbe9ff

View File

@@ -1247,7 +1247,7 @@ dns_dt_datatotext(dns_dtdata_t *d, isc_buffer_t **dest) {
/* Message size */
if (d->msgdata.base != NULL) {
snprintf(buf, sizeof(buf), "%zdb ", (size_t) d->msgdata.length);
snprintf(buf, sizeof(buf), "%zub ", (size_t) d->msgdata.length);
CHECK(putstr(dest, buf));
} else
CHECK(putstr(dest, "0b "));