Merge pull request #44 from iMobs/arm_compilation

ARM Compilation
This commit is contained in:
Max Bruckner
2016-11-01 08:42:45 +07:00
committed by GitHub
2 changed files with 2 additions and 2 deletions

View File

@ -50,7 +50,7 @@ static int cJSON_strcasecmp(const char *s1, const char *s2)
{
return 1;
}
for(; tolower(*s1) == tolower(*s2); ++s1, ++s2)
for(; tolower(*(const unsigned char *)s1) == tolower(*(const unsigned char *)s2); ++s1, ++s2)
{
if (*s1 == 0)
{