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:
- 12:72001533b0e3
- Parent:
- 11:77df6d7e65ae
- Child:
- 18:6d8a413a4d9a
--- a/crt_abstractions.c Fri Sep 09 13:38:26 2016 -0700 +++ b/crt_abstractions.c Thu Sep 22 18:17:00 2016 -0700 @@ -387,7 +387,7 @@ /*Codes_SRS_CRT_ABSTRACTIONS_21_033: [If the string is 'INF' of 'INFINITY' (ignoring case), the strtold_s must return the INFINITY value for long double.]*/ /*Codes_SRS_CRT_ABSTRACTIONS_21_034: [If the string is 'NAN' or 'NAN(...)' (ignoring case), the strtold_s must return 0.0 and points endptr to the first character after the 'NAN' sequence.]*/ #define TOUPPER(c) (((c>='a') && (c<='z'))?c-'a'+'A':c) -static int substricmp(const char* nptr, char* subsrt) +static int substricmp(const char* nptr, const char* subsrt) { int result = 0; while (((*subsrt) != '\0') && (result == 0))