Commit 835af2ca authored by Alexander Alashkin's avatar Alexander Alashkin Committed by Cesanta Bot

Fix CoAP/CC3200 compilation

PUBLISHED_FROM=00e4c01cc2bccd63b0f18b797e2c0503a489ef6f
parent bd2a4097
......@@ -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);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment