cJSON

mirror of Dave's cJSON
git clone git://git.thc420.xyz/cJSON
Log | Files | Refs | README | LICENSE

commit 4d06882c684de18d232bb78af9ff216b9b367cd9
parent b355733aa1b55718ec488f212e5919f6491a23cd
Author: Max Bruckner <max@maxbruckner.de>
Date:   Tue,  1 Nov 2016 08:42:45 +0700

Merge pull request #44 from iMobs/arm_compilation

ARM Compilation
Diffstat:
MMakefile | 2+-
McJSON.c | 2+-
2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/Makefile b/Makefile @@ -39,7 +39,7 @@ $(DYLIBNAME): $(OBJ) $(DYLIBCMD) $< $(LDFLAGS) $(STLIBNAME): $(OBJ) - ar rcs $@ $< + $(AR) rcs $@ $< $(OBJ): cJSON.c cJSON.h diff --git a/cJSON.c b/cJSON.c @@ -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) {