From 9d352431b23917e1ce7cde458686fa74f367c31f Mon Sep 17 00:00:00 2001 From: Olaf Bergmann Date: Mon, 16 Feb 2015 13:32:54 +0100 Subject: [PATCH] fixed wrong type in debug message --- block.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/block.c b/block.c index 87704dd8..a82037a9 100644 --- a/block.c +++ b/block.c @@ -98,7 +98,7 @@ coap_write_block_opt(coap_block_t *block, unsigned short type, debug("not enough space, even the smallest block does not fit"); return -3; } - debug("decrease block size for %d to %d\n", avail, coap_fls(avail) - 5); + debug("decrease block size for %zu to %d\n", avail, coap_fls(avail) - 5); szx = block->szx; block->szx = coap_fls(avail) - 5; block->m = 1;