[tor-commits] [tor/master] Fix a 32-bit compilation warning

nickm at torproject.org nickm at torproject.org
Tue Aug 11 13:08:03 UTC 2015


commit 3fdc07df5b59d27fb46c7d59f744372ffc45af5b
Author: Nick Mathewson <nickm at torproject.org>
Date:   Tue Aug 11 09:07:27 2015 -0400

    Fix a 32-bit compilation warning
---
 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 f8e7661..a6c423d 100644
--- a/src/test/test_util.c
+++ b/src/test/test_util.c
@@ -4355,7 +4355,7 @@ test_util_get_avail_disk_space(void *arg)
 
   /* No answer for nonexistent directory */
   val = tor_get_avail_disk_space("/akljasdfklsajdklasjkldjsa");
-  tt_int_op(val, OP_EQ, -1);
+  tt_i64_op(val, OP_EQ, -1);
 
   /* Try the current directory */
   val = tor_get_avail_disk_space(".");



More information about the tor-commits mailing list