src/json.c

changeset 944
c26299cc9897
parent 943
9f1eb30dbc84
child 946
b428424c0214
--- a/src/json.c	Tue Oct 22 12:23:43 2024 +0200
+++ b/src/json.c	Tue Oct 22 22:20:50 2024 +0200
@@ -39,7 +39,7 @@
 
 #define PARSER_STATES_ALLOC 32
 
-static CxJsonValue cx_json_value_nothing = {CX_JSON_NOTHING};
+static CxJsonValue cx_json_value_nothing = {.type = CX_JSON_NOTHING};
 
 
 static int token_append(CxJsonToken *token, const char *buf, size_t len) {

mercurial