Update cJSON_Utils for structural changes

Signed-off-by: Ajay Bhargav <contact@rickeyworld.info>
This commit is contained in:
Ajay Bhargav 2021-02-23 17:01:14 +05:30 committed by Ajay Bhargav
parent 7d89f84712
commit 3ff8920fba

View File

@ -840,7 +840,7 @@ static int apply_patch(cJSON *object, const cJSON *patch, const cJSON_bool case_
{ {
if (opcode == REMOVE) if (opcode == REMOVE)
{ {
static const cJSON invalid = { NULL, NULL, NULL, cJSON_Invalid, NULL, 0, 0, NULL}; static const cJSON invalid = { NULL, NULL, NULL, cJSON_Invalid, NULL, 0, 0, 0, NULL};
overwrite_item(object, invalid); overwrite_item(object, invalid);