[tor-commits] [tor/master] fix another 32-bit warning

nickm at torproject.org nickm at torproject.org
Wed Aug 9 12:32:42 UTC 2017


commit d2713b4ddc9d8a98d4b687188bcf392fd3235994
Author: Nick Mathewson <nickm at torproject.org>
Date:   Wed Aug 9 08:32:39 2017 -0400

    fix another 32-bit warning
---
 src/test/test_hs_common.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/test/test_hs_common.c b/src/test/test_hs_common.c
index d79d80bfa..b8b7ab00d 100644
--- a/src/test/test_hs_common.c
+++ b/src/test/test_hs_common.c
@@ -179,7 +179,7 @@ test_time_period(void *arg)
    * from hs_get_next_time_period_num() */
   {
     time_t next_tp_start = hs_get_start_time_of_next_time_period(fake_time);
-    tt_int_op(hs_get_time_period_num(next_tp_start), OP_EQ,
+    tt_u64_op(hs_get_time_period_num(next_tp_start), OP_EQ,
               hs_get_next_time_period_num(fake_time));
   }
 



More information about the tor-commits mailing list