A small footprint MQTT library
Dependents: STM32F746_iothub_client_sample_mqtt FXOS8700CQ_To_Azure_IoT f767zi_mqtt FXOS8700CQ_To_Azure_IoT ... more
Diff: mqtt_message.c
- Revision:
- 30:712bcbf21afa
- Parent:
- 20:a8254fa69b6c
diff -r 7bb0aae34648 -r 712bcbf21afa mqtt_message.c --- a/mqtt_message.c Tue Sep 11 11:14:10 2018 -0700 +++ b/mqtt_message.c Thu Oct 04 09:16:34 2018 -0700 @@ -99,7 +99,7 @@ if (result->appPayload.message == NULL) { /* Codes_SRS_MQTTMESSAGE_07_003: [If any memory allocation fails mqttmessage_create shall free any allocated memory and return NULL.] */ - LogError("Failure allocating message value of %uz", appMsgLength); + LogError("Failure allocating message value of %zu", appMsgLength); free(result->topicName); free(result); result = NULL;