|
|
@@ -331,7 +331,7 @@ double string_to_double(const char* str, char** endptr) {
|
|
|
/* Parse the input text to generate a number, and populate the result into item. */
|
|
|
static cJSON_bool parse_number(cJSON* const item, parse_buffer* const input_buffer) {
|
|
|
double number = 0;
|
|
|
- unsigned char* after_end = NULL;
|
|
|
+ unsigned char* volatile after_end = NULL;
|
|
|
unsigned char number_c_string[64];
|
|
|
unsigned char decimal_point = get_decimal_point();
|
|
|
size_t i = 0;
|