mirror of
https://github.com/cesanta/mongoose.git
synced 2024-11-28 13:49:01 +08:00
Fix CoAP/CC3200 compilation
PUBLISHED_FROM=00e4c01cc2bccd63b0f18b797e2c0503a489ef6f
This commit is contained in:
parent
bd2a4097b2
commit
835af2cae1
@ -9778,7 +9778,7 @@ uint32_t mg_coap_compose(struct mg_coap_message *cm, struct mbuf *io) {
|
||||
}
|
||||
|
||||
if (cm->payload.len != 0) {
|
||||
*ptr = -1;
|
||||
*ptr = (char)-1;
|
||||
ptr++;
|
||||
memcpy(ptr, cm->payload.p, cm->payload.len);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user