From 0a070ef312665b35be5a684b6c5de25b64f59882 Mon Sep 17 00:00:00 2001 From: Eric Haszlakiewicz Date: Fri, 10 Apr 2020 01:26:04 +0000 Subject: [PATCH] Fix one more assert("!invalid cint_type") to use json_abort(...) instead. --- json_object.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/json_object.c b/json_object.c index 8817edc..1faa4af 100644 --- a/json_object.c +++ b/json_object.c @@ -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; -- 2.49.0