mirror of
https://github.com/wren-lang/wren.git
synced 2026-01-16 20:28:04 +01:00
Fixed char-subscripts warning
This commit is contained in:
@ -942,7 +942,7 @@ DEF_PRIMITIVE(num_fromString)
|
||||
double number = strtod(string->value, &end);
|
||||
|
||||
// Skip past any trailing whitespace.
|
||||
while (*end != '\0' && isspace(*end)) end++;
|
||||
while (*end != '\0' && isspace((unsigned char) *end)) end++;
|
||||
|
||||
if (errno == ERANGE)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user