Merge pull request #247 from ComFreek/patch-2

Fixed char-subscripts warning
This commit is contained in:
Bob Nystrom
2015-04-01 06:42:38 -07:00
+1 -1
View File
@@ -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)
{