[tor-commits] [tor/master] Fix a compilation warning on i386 with clang

nickm at torproject.org nickm at torproject.org
Fri Aug 24 20:13:34 UTC 2018


commit bb65b539663550bd22732369295c3572a426899a
Author: Nick Mathewson <nickm at torproject.org>
Date:   Fri Aug 24 16:13:30 2018 -0400

    Fix a compilation warning on i386 with clang
---
 src/test/test_util.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/test/test_util.c b/src/test/test_util.c
index b395110cd..6cbd504e3 100644
--- a/src/test/test_util.c
+++ b/src/test/test_util.c
@@ -6299,7 +6299,7 @@ test_util_log_mallinfo(void *arg)
   tt_assert(next2);
   if (mem2 == 0) {
     /* This is a fake mallinfo that doesn't actually fill in its outputs. */
-    tt_int_op(mem1, OP_EQ, 0);
+    tt_u64_op(mem1, OP_EQ, 0);
   } else {
     tt_u64_op(mem1, OP_LT, mem2);
   }



More information about the tor-commits mailing list