Explorar o código

Fix compiler warning on test_status.c

Nick Mathewson %!s(int64=11) %!d(string=hai) anos
pai
achega
1126ce1d86
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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);