提交 4d06882c 编写于 作者: M Max Bruckner 提交者: GitHub

Merge pull request #44 from iMobs/arm_compilation

ARM Compilation
......@@ -39,7 +39,7 @@ $(DYLIBNAME): $(OBJ)
$(DYLIBCMD) $< $(LDFLAGS)
$(STLIBNAME): $(OBJ)
ar rcs $@ $<
$(AR) rcs $@ $<
$(OBJ): cJSON.c cJSON.h
......
......@@ -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)
{
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册