Azure IoT common library
Dependents: STM32F746_iothub_client_sample_mqtt f767zi_mqtt iothub_client_sample_amqp iothub_client_sample_http ... more
Diff: crt_abstractions.c
- Revision:
- 37:f0dc2835e9e0
- Parent:
- 27:8656a313842b
- Child:
- 48:81866008bba4
--- a/crt_abstractions.c Fri Nov 17 13:59:01 2017 -0800 +++ b/crt_abstractions.c Fri Dec 15 14:10:45 2017 -0800 @@ -528,7 +528,7 @@ if (((**endptr) == 'e') || ((**endptr) == 'E')) { startptr = (*endptr) + 1; - (*exponential) = strtol(startptr, endptr, 10); + (*exponential) = (int)strtol(startptr, endptr, 10); if (((*exponential) < (DBL_MAX_10_EXP * (-1))) || ((*exponential) > DBL_MAX_10_EXP)) { result = FST_OVERFLOW;