mirror of
https://github.com/obgm/libcoap.git
synced 2026-11-09 02:32:53 +03:00
fixed wrong type in debug message
This commit is contained in:
1 parent
8c3cdf5e72
commit
9d352431b2
1 file changed
+1
-1
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user