aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/test/test_status.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/test_status.c b/src/test/test_status.c
index 09c99356a..b704053d0 100644
--- a/src/test/test_status.c
+++ b/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);