diff --git a/tests/cpath/test_cpath.c b/tests/cpath/test_cpath.c index 4fd2928..e112c33 100644 --- a/tests/cpath/test_cpath.c +++ b/tests/cpath/test_cpath.c @@ -65,7 +65,7 @@ TestFuncResult test_cpath_join_path(void) { } memset(out, 0, strlen(out)); - snprintf(expected, 1, ""); + snprintf(expected, 1, "%s", ""); wapp_cpath_join_path(out, "", ""); result = result && strcmp(out, expected) == 0;