Merge pull request #199 from Nzbuu/fix_vs_build
Fix build in Visual Studio
This commit is contained in:
commit
c97bbd3797
1 file changed
+1
-1
+1
-1
@@ -432,7 +432,7 @@ void json_object_object_add_ex(struct json_object* jso,
|
|||||||
lh_table_insert_w_hash(jso->o.c_object, k, val, hash, opts);
|
lh_table_insert_w_hash(jso->o.c_object, k, val, hash, opts);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
existing_value = (void *)existing_entry->v;
|
existing_value = (json_object *)existing_entry->v;
|
||||||
if (existing_value)
|
if (existing_value)
|
||||||
json_object_put(existing_value);
|
json_object_put(existing_value);
|
||||||
existing_entry->v = val;
|
existing_entry->v = val;
|
||||||
|
|||||||
Reference in new issue
Block a user