Fix CoAP/CC3200 compilation

PUBLISHED_FROM=00e4c01cc2bccd63b0f18b797e2c0503a489ef6f
This commit is contained in:
Alexander Alashkin authored and Cesanta Bot committed 2016-10-21 15:57:55 +00:00
1 parent bd2a4097b2
commit 835af2cae1
1 file changed
+1 -1
+1 -1
View File
@@ -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);
}