Changes in lib/json.c [b4b8f1e:6b13103]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
lib/json.c
rb4b8f1e r6b13103 53 53 static unsigned char hex_value (json_char c) 54 54 { 55 if ( isdigit(c))55 if (g_ascii_isdigit(c)) 56 56 return c - '0'; 57 57 … … 609 609 default: 610 610 611 if ( isdigit (b) || b == '-')611 if (g_ascii_isdigit (b) || b == '-') 612 612 { 613 613 if (!new_value (&state, &top, &root, &alloc, json_integer)) … … 616 616 if (!state.first_pass) 617 617 { 618 while ( isdigit (b) || b == '+' || b == '-'618 while (g_ascii_isdigit (b) || b == '+' || b == '-' 619 619 || b == 'e' || b == 'E' || b == '.') 620 620 { … … 706 706 case json_double: 707 707 708 if ( isdigit (b))708 if (g_ascii_isdigit (b)) 709 709 { 710 710 ++ num_digits;
Note: See TracChangeset
for help on using the changeset viewer.