summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/test/test_dir.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/test_dir.c b/src/test/test_dir.c
index c8065270f9..eca3082e4f 100644
--- a/src/test/test_dir.c
+++ b/src/test/test_dir.c
@@ -4213,7 +4213,7 @@ test_dir_find_dl_schedule(void* data)
/* where arg is a string constant */
#define DIR_ARG(name,flags,arg) \
- { #name "_" arg, test_dir_##name, (flags), &passthrough_setup, arg }
+ { #name "_" arg, test_dir_##name, (flags), &passthrough_setup, (void*) arg }
struct testcase_t dir_tests[] = {
DIR_LEGACY(nicknames),