From 7c9a8900b3ee40a9aa4df7bb6786288e2de67519 Mon Sep 17 00:00:00 2001 From: Linus Nordberg Date: Sun, 17 Jul 2016 02:38:01 +0200 Subject: %z for size_t. --- c_src/dnssec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'c_src') diff --git a/c_src/dnssec.c b/c_src/dnssec.c index 440353b..abbe5cc 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 %d octets of data, including status code %d\n", + fprintf(stderr, "writing %z octets of data, including status code %d\n", 2 + out_len, r); if (write_reply(reply, 2 + out_len, 4)) fprintf(stderr, "error writing reply\n"); -- cgit v1.1