# HG changeset patch # User Mike Becker # Date 1735988131 -3600 # Node ID cf54e413793c9363b3804b1fffd768ed01bf9983 # Parent 46cdc8689fc45c22c87d79a90fe9fe13cbd8cd18 fix typo in assert() diff -r 46cdc8689fc4 -r cf54e413793c src/json.c --- a/src/json.c Fri Jan 03 19:18:00 2025 +0100 +++ b/src/json.c Sat Jan 04 11:55:31 2025 +0100 @@ -68,7 +68,7 @@ } static int json_add_objvalue(CxJsonValue *objv, CxJsonObjValue member) { - assert(obj->type == CX_JSON_OBJECT); + assert(objv->type == CX_JSON_OBJECT); const CxAllocator * const al = objv->allocator; CxJsonObject *obj = &(objv->value.object);