mirror of
https://github.com/json-c/json-c.git
synced 2026-04-09 15:29:07 +08:00
Fix one more assert("!invalid cint_type") to use json_abort(...) instead.
This commit is contained in:
@@ -1501,7 +1501,7 @@ int json_c_shallow_copy_default(json_object *src, json_object *parent, const cha
|
|||||||
case json_object_int_type_uint64:
|
case json_object_int_type_uint64:
|
||||||
*dst = json_object_new_uint64(src->o.c_int.cint.c_uint64);
|
*dst = json_object_new_uint64(src->o.c_int.cint.c_uint64);
|
||||||
break;
|
break;
|
||||||
default: assert(!"invalid cint_type");
|
default: json_abort("invalid cint_type");
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user