mirror of
https://github.com/wren-lang/wren.git
synced 2026-01-18 13:49:59 +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);
|
double number = strtod(string->value, &end);
|
||||||
|
|
||||||
// Skip past any trailing whitespace.
|
// Skip past any trailing whitespace.
|
||||||
while (*end != '\0' && isspace(*end)) end++;
|
while (*end != '\0' && isspace((unsigned char) *end)) end++;
|
||||||
|
|
||||||
if (errno == ERANGE)
|
if (errno == ERANGE)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user