aboutsummaryrefslogtreecommitdiff
path: root/testing/tst_sg_lib.c
diff options
context:
space:
mode:
Diffstat (limited to 'testing/tst_sg_lib.c')
-rw-r--r--testing/tst_sg_lib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/testing/tst_sg_lib.c b/testing/tst_sg_lib.c
index b65bdef1..10cf3bbb 100644
--- a/testing/tst_sg_lib.c
+++ b/testing/tst_sg_lib.c
@@ -233,7 +233,7 @@ main(int argc, char * argv[])
int ret = 0;
sgj_opaque_p jop = NULL;
sgj_opaque_p jo2p;
- sgj_state json_st = {0};
+ sgj_state json_st SG_C_CPP_ZERO_INIT;
sgj_state * jsp = &json_st;
char b[2048];
char bb[256];