aboutsummaryrefslogtreecommitdiff
path: root/src/or/nodelist.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/or/nodelist.c')
-rw-r--r--src/or/nodelist.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/nodelist.c b/src/or/nodelist.c
index 9c8714c354..b620b408ea 100644
--- a/src/or/nodelist.c
+++ b/src/or/nodelist.c
@@ -122,7 +122,7 @@ nodelist_add_microdesc(microdesc_t *md)
{
networkstatus_t *ns =
networkstatus_get_latest_consensus_by_flavor(FLAV_MICRODESC);
- routerstatus_t *rs;
+ const routerstatus_t *rs;
node_t *node;
if (ns == NULL)
return NULL;