From: Nick Mathewson Date: Thu, 19 May 2016 12:27:11 +0000 (-0400) Subject: Fix a compilation error in test_dir.c X-Git-Tag: tor-0.2.8.3-alpha~15^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=06803c317f3865b2a365c4485618828f60bd5de9;p=thirdparty%2Ftor.git Fix a compilation error in test_dir.c --- 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),