diff options
author | Nick Mathewson <nickm@torproject.org> | 2016-10-19 17:15:42 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2016-10-19 17:15:42 -0400 |
commit | 9f6bb29b0534aff108c0a2fe75c9a420b1729fe3 (patch) | |
tree | cf0849dde2ec19121fadb9f7023fe3cc98e7eb5f /src/test/test_routerlist.c | |
parent | 12cf73c4516132a85f76d1c6e60c9492e8751987 (diff) | |
download | tor-9f6bb29b0534aff108c0a2fe75c9a420b1729fe3.tar.gz tor-9f6bb29b0534aff108c0a2fe75c9a420b1729fe3.zip |
Compilation fix. (function pointer implicit cast in tests.)
Diffstat (limited to 'src/test/test_routerlist.c')
-rw-r--r-- | src/test/test_routerlist.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/test_routerlist.c b/src/test/test_routerlist.c index 72d2f0410d..af5c121ce2 100644 --- a/src/test/test_routerlist.c +++ b/src/test/test_routerlist.c @@ -207,7 +207,7 @@ mock_usable_consensus_flavor(void) static smartlist_t *mock_is_guard_list = NULL; static int -mock_is_node_used_as_guard(node_t *n) +mock_is_node_used_as_guard(const node_t *n) { if (mock_is_guard_list) { SMARTLIST_FOREACH_BEGIN(mock_is_guard_list, node_t *, e) { |