(compiler warning fix)

This commit is contained in:
chrysn committed 2013-11-17 16:53:35 +01:00
1 parent 316e189d4e
commit 1b1f4d0db4
1 file changed
+1 -1
+1 -1
View File
@@ -59,7 +59,7 @@ coap_pdu_from_pbuf(struct pbuf *pbuf)
LWIP_ASSERT("Can only deal with contiguous PBUFs", pbuf->tot_len == pbuf->len);
LWIP_ASSERT("coap_read needs to receive an exclusive copy of the incoming pbuf", pbuf->ref == 1);
char *data = pbuf->payload;
void *data = pbuf->payload;
coap_pdu_t *result;
pbuf_header(pbuf, sizeof(coap_pdu_t));