aboutsummaryrefslogtreecommitdiff
path: root/src/or/shared_random.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/or/shared_random.c')
-rw-r--r--src/or/shared_random.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/shared_random.c b/src/or/shared_random.c
index 5cdf3d0287..7a0273d495 100644
--- a/src/or/shared_random.c
+++ b/src/or/shared_random.c
@@ -589,7 +589,7 @@ STATIC int
should_keep_commit(const sr_commit_t *commit, const char *voter_key,
sr_phase_t phase)
{
- sr_commit_t *saved_commit;
+ const sr_commit_t *saved_commit;
tor_assert(commit);
tor_assert(voter_key);