Browse Source

Fix compiler warning on test_status.c

Nick Mathewson 10 years ago
parent
commit
1126ce1d86
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/test/test_status.c

+ 1 - 1
src/test/test_status.c

@@ -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);