fixed wrong type in debug message

This commit is contained in:
Olaf Bergmann committed 2015-02-16 13:32:54 +01:00
1 parent 8c3cdf5e72
commit 9d352431b2
1 file changed
+1 -1
+1 -1
View File
@@ -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;