mirror of
https://github.com/DaveGamble/cJSON.git
synced 2026-10-30 12:56:01 +00:00
another compare_strings fix
This commit is contained in:
1 parent
eb017abe72
commit
30906a01c0
1 file changed
+1
-1
+1
-1
@@ -1218,7 +1218,7 @@ CJSON_PUBLIC(cJSON *) cJSONUtils_GenerateMergePatch(cJSON * const from, cJSON *
|
|||||||
{
|
{
|
||||||
if (to_child != NULL)
|
if (to_child != NULL)
|
||||||
{
|
{
|
||||||
diff = compare_strings((unsigned char*)from_child->string, (unsigned char*)to_child->string, true);
|
diff = strcmp(from_child->string, to_child->string);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in new issue
Block a user