Browse Source

Fix one more assert("!invalid cint_type") to use json_abort(...) instead.

tags/json-c-0.14-20200419
Eric Haszlakiewicz 5 years ago
parent
commit
0a070ef312
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      json_object.c

+ 1
- 1
json_object.c View File

@@ -1501,7 +1501,7 @@ int json_c_shallow_copy_default(json_object *src, json_object *parent, const cha
case json_object_int_type_uint64:
*dst = json_object_new_uint64(src->o.c_int.cint.c_uint64);
break;
default: assert(!"invalid cint_type");
default: json_abort("invalid cint_type");
}
break;



Loading…
Cancel
Save