From: Nick Mathewson Date: Tue, 15 Apr 2014 19:19:41 +0000 (-0400) Subject: Fix compiler warning on test_status.c X-Git-Tag: tor-0.2.5.4-alpha~46 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=1126ce1d86e925097c855a33c6a33638e086d35e;p=thirdparty%2Ftor.git Fix compiler warning on test_status.c --- diff --git a/src/test/test_status.c b/src/test/test_status.c index 09c99356ad..b704053d04 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);