summaryrefslogtreecommitdiff
path: root/src/test/test_status.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/test_status.c')
-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 09b9662b4c..25577cdafa 100644
--- a/src/test/test_status.c
+++ b/src/test/test_status.c
@@ -230,7 +230,7 @@ NS(test_main)(void *arg)
tor_free(actual);
expected = "10.00 GB";
- actual = bytes_to_usage((U64_LITERAL(1) << 30) * 10L);
+ actual = bytes_to_usage((UINT64_C(1) << 30) * 10L);
tt_str_op(actual, OP_EQ, expected);
tor_free(actual);