another type fix

This commit is contained in:
Olaf Bergmann committed 2015-02-16 13:33:41 +01:00
1 parent 9d352431b2
commit d52f338215
1 file changed
+1 -1
+1 -1
View File
@@ -359,7 +359,7 @@ coap_opt_setheader(coap_opt_t *opt, size_t maxlen,
opt[0] |= length & 0x0f;
} else if (length < 270) {
if (maxlen < skip + 1) {
debug("insufficient space to encode option length %d", length);
debug("insufficient space to encode option length %zu", length);
return 0;
}