summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2016-05-19 08:27:11 -0400
committerNick Mathewson <nickm@torproject.org>2016-05-19 08:27:11 -0400
commit06803c317f3865b2a365c4485618828f60bd5de9 (patch)
treefa20e4c33ddf18b2877db9fefd781d027e334b71
parent9f217c83b0d91508af0d63f04216fa78cdbfbe1b (diff)
downloadtor-06803c317f3865b2a365c4485618828f60bd5de9.tar.gz
tor-06803c317f3865b2a365c4485618828f60bd5de9.zip
Fix a compilation error in test_dir.c
-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),