From d52f3382150226a68a47e815ecb1ca8ef08e1066 Mon Sep 17 00:00:00 2001 From: Olaf Bergmann Date: Mon, 16 Feb 2015 13:33:41 +0100 Subject: [PATCH] another type fix --- option.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/option.c b/option.c index f8b4a308..8bb3af1a 100644 --- a/option.c +++ b/option.c @@ -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; }