summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--c_src/dnssec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/c_src/dnssec.c b/c_src/dnssec.c
index abbe5cc..46a5748 100644
--- a/c_src/dnssec.c
+++ b/c_src/dnssec.c
@@ -325,7 +325,7 @@ loop(getdns_list *trust_anchors)
*((uint16_t *) reply) = htons(r);
if (debug)
- fprintf(stderr, "writing %z octets of data, including status code %d\n",
+ fprintf(stderr, "writing %zu octets of data, including status code %u\n",
2 + out_len, r);
if (write_reply(reply, 2 + out_len, 4))
fprintf(stderr, "error writing reply\n");