Browse Source

Fix a compilation error in test_dir.c

Nick Mathewson 8 years ago
parent
commit
06803c317f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/test/test_dir.c

+ 1 - 1
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),