aboutsummaryrefslogtreecommitdiff
path: root/src/test/test_routerlist.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/test_routerlist.c')
-rw-r--r--src/test/test_routerlist.c2
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) {