mirror of
https://github.com/obgm/libcoap.git
synced 2026-11-12 03:40:39 +03:00
(compiler warning fix)
This commit is contained in:
1 parent
316e189d4e
commit
1b1f4d0db4
1 file changed
+1
-1
@@ -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));
|
||||
|
||||
Reference in new issue
Block a user