[tor-commits] [tor/master] Fix a compilation error in test_dir.c
nickm at torproject.org
nickm at torproject.org
Thu May 19 12:30:29 UTC 2016
commit 06803c317f3865b2a365c4485618828f60bd5de9
Author: Nick Mathewson <nickm at torproject.org>
Date: Thu May 19 08:27:11 2016 -0400
Fix a compilation error in test_dir.c
---
src/test/test_dir.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/test/test_dir.c b/src/test/test_dir.c
index c806527..eca3082 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),
More information about the tor-commits
mailing list