]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Compilation fix. (function pointer implicit cast in tests.)
authorNick Mathewson <nickm@torproject.org>
Wed, 19 Oct 2016 21:15:42 +0000 (17:15 -0400)
committerNick Mathewson <nickm@torproject.org>
Wed, 19 Oct 2016 21:15:42 +0000 (17:15 -0400)
src/test/test_routerlist.c

index 72d2f0410d83aaa7c44b09925c30d0d0b6a59e2d..af5c121ce22627af3e1fbdc9381d48560a969372 100644 (file)
@@ -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) {