commit 1126ce1d86e925097c855a33c6a33638e086d35e
Author: Nick Mathewson <[email protected]>
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);
_______________________________________________
tor-commits mailing list
[email protected]
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits