]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Fix compiler warning on test_status.c
authorNick Mathewson <nickm@torproject.org>
Tue, 15 Apr 2014 19:19:41 +0000 (15:19 -0400)
committerNick Mathewson <nickm@torproject.org>
Tue, 15 Apr 2014 19:19:41 +0000 (15:19 -0400)
src/test/test_status.c

index 09c99356adaf641ef7054da107b46fd601ae95f8..b704053d04d0683b09e027b81697bfd80cc898a7 100644 (file)
@@ -223,7 +223,7 @@ NS(test_main)(void *arg)
   tor_free(actual);
 
   expected = "10.00 GB";
-  actual = bytes_to_usage((1 << 30) * 10L);
+  actual = bytes_to_usage((U64_LITERAL(1) << 30) * 10L);
   tt_str_op(actual, ==, expected);
   tor_free(actual);