Explorar o código

Make another variable unsigned.

Nick Mathewson %!s(int64=8) %!d(string=hai) anos
pai
achega
acc083b520
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/or/rephist.c

+ 1 - 1
src/or/rephist.c

@@ -3082,7 +3082,7 @@ rep_hist_format_hs_stats(time_t now)
                           crypto_rand_double(),
                           crypto_rand_double(),
                           REND_CELLS_DELTA_F, REND_CELLS_EPSILON);
                           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(
     round_uint64_to_next_multiple_of((size_t)digestmap_size(
                                         hs_stats->onions_seen_this_period),
                                         hs_stats->onions_seen_this_period),
                                      ONIONS_SEEN_BIN_SIZE);
                                      ONIONS_SEEN_BIN_SIZE);