Sat, 04 Jan 2025 11:55:31 +0100
fix typo in assert()
src/json.c | file | annotate | diff | comparison | revisions |
--- 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);