Missing explicit casts from void* to specific pointers required. Added #define strcasecmp for Visual C++.
This commit is contained in:
1 parent
a6f39a3c0c
commit
271c53ebdd
3 files changed
+11
-3
No files matched your search
+2
-2
@@ -12,8 +12,8 @@ static int sort_fn (const void *j1, const void *j2)
|
||||
json_object * const *jso1, * const *jso2;
|
||||
int i1, i2;
|
||||
|
||||
jso1 = j1;
|
||||
jso2 = j2;
|
||||
jso1 = (json_object* const*)j1;
|
||||
jso2 = (json_object* const*)j2;
|
||||
if (!*jso1 && !*jso2) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user