Microsoft Azure IoTHub client MQTT transport
Dependents: STM32F746_iothub_client_sample_mqtt FXOS8700CQ_To_Azure_IoT f767zi_mqtt FXOS8700CQ_To_Azure_IoT ... more
Diff: iothubtransport_mqtt_common.c
- Revision:
- 34:9363cf585ef3
- Parent:
- 33:b7dfb208ef0a
- Child:
- 35:c56b7cfcb90b
--- a/iothubtransport_mqtt_common.c Wed Jan 17 08:56:02 2018 -0800 +++ b/iothubtransport_mqtt_common.c Tue Jan 30 08:20:46 2018 -0800 @@ -480,7 +480,7 @@ } else if (token_count == 3) { - *status_code = atol(STRING_c_str(token_value)); + *status_code = (int)atol(STRING_c_str(token_value)); if (STRING_TOKENIZER_get_next_token(token_handle, token_value, "/?$rid=") == 0) { *request_id = (size_t)atol(STRING_c_str(token_value));