mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-10-05 22:29:49 +00:00
Minor compile fix for last commit
This commit is contained in:
parent
fc8f6e8fd9
commit
534d3a794c
@ -711,7 +711,7 @@ mqtt_message_received(mqtt_client_t *client, u8_t fixed_hdr_len, u16_t length, u
|
|||||||
u16_t payload_length = length;
|
u16_t payload_length = length;
|
||||||
u8_t qos = MQTT_CTL_PACKET_QOS(client->rx_buffer[0]);
|
u8_t qos = MQTT_CTL_PACKET_QOS(client->rx_buffer[0]);
|
||||||
|
|
||||||
if (client->msg_idx == (fixed_hdr_len + length)) {
|
if (client->msg_idx == (u32_t)(fixed_hdr_len + length)) {
|
||||||
/* First publish message frame. Should have topic and pkt id*/
|
/* First publish message frame. Should have topic and pkt id*/
|
||||||
size_t var_hdr_payload_bufsize = sizeof(client->rx_buffer) - fixed_hdr_len;
|
size_t var_hdr_payload_bufsize = sizeof(client->rx_buffer) - fixed_hdr_len;
|
||||||
u8_t *topic;
|
u8_t *topic;
|
||||||
|
Loading…
Reference in New Issue
Block a user