]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
cast to unsigned
authorMark Andrews <marka@isc.org>
Thu, 15 Feb 2018 01:24:56 +0000 (12:24 +1100)
committerMark Andrews <marka@isc.org>
Fri, 16 Feb 2018 05:57:00 +0000 (16:57 +1100)
lib/dns/message.c

index 2a40ffab018ba566c2abf341876007008282a223..4d985fce92c4aaf6e469934b6b7090acc4c92fda 100644 (file)
@@ -57,7 +57,7 @@ hexdump(const char *msg, const char *msg2, void *base, size_t len) {
        p = base;
        cnt = 0;
 
-       printf("*** %s [%s] (%u bytes @ %p)\n", msg, msg2, len, base);
+       printf("*** %s [%s] (%u bytes @ %p)\n", msg, msg2, (unsigned)len, base);
 
        while (cnt < len) {
                if (cnt % 16 == 0)