mirror of
https://github.com/cesanta/mongoose.git
synced 2026-11-26 20:38:25 +00:00
Fix CoAP/CC3200 compilation
PUBLISHED_FROM=00e4c01cc2bccd63b0f18b797e2c0503a489ef6f
This commit is contained in:
1 parent
bd2a4097b2
commit
835af2cae1
1 file changed
+1
-1
+1
-1
@@ -9778,7 +9778,7 @@ uint32_t mg_coap_compose(struct mg_coap_message *cm, struct mbuf *io) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (cm->payload.len != 0) {
|
if (cm->payload.len != 0) {
|
||||||
*ptr = -1;
|
*ptr = (char)-1;
|
||||||
ptr++;
|
ptr++;
|
||||||
memcpy(ptr, cm->payload.p, cm->payload.len);
|
memcpy(ptr, cm->payload.p, cm->payload.len);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user