mirror of
https://github.com/DaveGamble/cJSON.git
synced 2026-11-17 19:30:58 +00:00
commit
4d06882c68
2 files changed
+2
-2
No files matched your search
@@ -39,7 +39,7 @@ $(DYLIBNAME): $(OBJ)
|
|||||||
$(DYLIBCMD) $< $(LDFLAGS)
|
$(DYLIBCMD) $< $(LDFLAGS)
|
||||||
|
|
||||||
$(STLIBNAME): $(OBJ)
|
$(STLIBNAME): $(OBJ)
|
||||||
ar rcs $@ $<
|
$(AR) rcs $@ $<
|
||||||
|
|
||||||
$(OBJ): cJSON.c cJSON.h
|
$(OBJ): cJSON.c cJSON.h
|
||||||
|
|
||||||
|
|||||||
@@ -50,7 +50,7 @@ static int cJSON_strcasecmp(const char *s1, const char *s2)
|
|||||||
{
|
{
|
||||||
return 1;
|
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)
|
if (*s1 == 0)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in new issue
Block a user