Prechádzať zdrojové kódy

Fix a 32-bit compilation warning

Nick Mathewson 10 rokov pred
rodič
commit
3fdc07df5b
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  1. 1 1
      src/test/test_util.c

+ 1 - 1
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(".");