[tor/master] Fix compiler warning on test_status.c

15 Apr
2014
15 Apr
'14
7:19 p.m.
commit 1126ce1d86e925097c855a33c6a33638e086d35e Author: Nick Mathewson <nickm@torproject.org> Date: Tue Apr 15 15:19:41 2014 -0400 Fix compiler warning on test_status.c --- src/test/test_status.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/test_status.c b/src/test/test_status.c index 09c9935..b704053 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);
4093
Age (days ago)
4093
Last active (days ago)
0 comments
1 participants
participants (1)
-
nickm@torproject.org