解決了好多警告。。。。

This commit is contained in:
zogodo
2019-09-25 00:29:59 +08:00
parent 3cf3abf373
commit 21a07a4d97
10 changed files with 42 additions and 42 deletions

View File

@@ -104,7 +104,7 @@ void udp_thread(void *arg)
require_string(p_send_msg, exit, "Wrong data point");
// send message to server
err = udp_msg_send(udp_fd, p_send_msg->data, p_send_msg->datalen);
err = udp_msg_send(udp_fd, (const unsigned char*)p_send_msg->data, p_send_msg->datalen);
// require_noerr_string(err, MQTT_reconnect, "ERROR: udp publish data err");
os_log("udp send data success! msg=[%ld].\r\n", p_send_msg->datalen);