[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [tor/master] Compilation fix. (function pointer implicit cast in tests.)



commit 9f6bb29b0534aff108c0a2fe75c9a420b1729fe3
Author: Nick Mathewson <nickm@xxxxxxxxxxxxxx>
Date:   Wed Oct 19 17:15:42 2016 -0400

    Compilation fix. (function pointer implicit cast in tests.)
---
 src/test/test_routerlist.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/test/test_routerlist.c b/src/test/test_routerlist.c
index 72d2f04..af5c121 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) {

_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits