aboutsummaryrefslogtreecommitdiff
path: root/tests/test_strlist.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_strlist.c')
-rw-r--r--tests/test_strlist.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_strlist.c b/tests/test_strlist.c
index 723c904..90219bd 100644
--- a/tests/test_strlist.c
+++ b/tests/test_strlist.c
@@ -144,7 +144,7 @@ void test_strlist_append_file() {
right = expected[z];
STASIS_ASSERT(strcmp(left, right) == 0, "file content is different than expected");
}
- STASIS_ASSERT(strcmp_array(list->data, expected) == 0, "file contents does not match expected values");
+ STASIS_ASSERT(strcmp_array((const char **) list->data, expected) == 0, "file contents does not match expected values");
guard_strlist_free(&list);
}
}
@@ -614,4 +614,4 @@ int main(int argc, char *argv[]) {
};
STASIS_TEST_RUN(tests);
STASIS_TEST_END_MAIN();
-} \ No newline at end of file
+}