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:
@@ -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 "));
|
||||
|
Reference in New Issue
Block a user