aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/or/rephist.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/rephist.c b/src/or/rephist.c
index f7decd593e..50e8bf5db7 100644
--- a/src/or/rephist.c
+++ b/src/or/rephist.c
@@ -3082,7 +3082,7 @@ rep_hist_format_hs_stats(time_t now)
crypto_rand_double(),
REND_CELLS_DELTA_F, REND_CELLS_EPSILON);
- int64_t rounded_onions_seen =
+ uint64_t rounded_onions_seen =
round_uint64_to_next_multiple_of((size_t)digestmap_size(
hs_stats->onions_seen_this_period),
ONIONS_SEEN_BIN_SIZE);