]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Make another variable unsigned.
authorNick Mathewson <nickm@torproject.org>
Fri, 20 May 2016 12:12:09 +0000 (08:12 -0400)
committerNick Mathewson <nickm@torproject.org>
Fri, 20 May 2016 12:12:09 +0000 (08:12 -0400)
src/or/rephist.c

index f7decd593e7691f934893b4a1149ebfd34b91690..50e8bf5db74a2c8a6bbb4d5ba8a987a79a87f87f 100644 (file)
@@ -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);