From 30cc02b2e84a6498647fce561989f099b1fc0934 Mon Sep 17 00:00:00 2001 From: Joseph Hunkeler Date: Wed, 9 Oct 2024 11:01:01 -0400 Subject: Fix pointer cast --- tests/test_str.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/test_str.c') diff --git a/tests/test_str.c b/tests/test_str.c index f8aa1e9..4991c1c 100644 --- a/tests/test_str.c +++ b/tests/test_str.c @@ -244,7 +244,7 @@ void test_join_ex() { }; for (size_t i = 0; i < sizeof(tc) / sizeof(*tc); i++) { char *result; - result = join_ex(tc[i].delim, "a", "b", "c", "d", "e", NULL); + result = join_ex((char *) tc[i].delim, "a", "b", "c", "d", "e", NULL); STASIS_ASSERT(strcmp(result ? result : "", tc[i].expected) == 0, "failed to join array"); guard_free(result); } -- cgit