[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

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



commit acc083b5205824f079f26c7ab37f01ecdac08fec
Author: Nick Mathewson <nickm@xxxxxxxxxxxxxx>
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);

_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits