[tor-commits] [tor/master] Make another variable unsigned.

nickm at torproject.org nickm at torproject.org
Fri May 20 12:15:05 UTC 2016


commit acc083b5205824f079f26c7ab37f01ecdac08fec
Author: Nick Mathewson <nickm at torproject.org>
Date:   Fri May 20 08:12:09 2016 -0400

    Make another variable unsigned.
---
 src/or/rephist.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/or/rephist.c b/src/or/rephist.c
index f7decd5..50e8bf5 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);



More information about the tor-commits mailing list