From 89d8efb7ff5ecd55198ce2dd8d3c73644e4f310e Mon Sep 17 00:00:00 2001 From: Peter Dimov Date: Tue, 8 Feb 2022 22:58:45 +0200 Subject: [PATCH] Avoid -Wlong-long in bit_ceil_test.cpp --- test/bit_ceil_test.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/bit_ceil_test.cpp b/test/bit_ceil_test.cpp index 53fbb84..2cde75b 100644 --- a/test/bit_ceil_test.cpp +++ b/test/bit_ceil_test.cpp @@ -45,7 +45,7 @@ int main() test_bit_ceil( static_cast( 0x80 ) ); test_bit_ceil( static_cast( 0x8000 ) ); test_bit_ceil( static_cast( 0x80000000 ) ); - test_bit_ceil( static_cast( 0x8000000000000000 ) ); + test_bit_ceil( boost::uint64_t( 1 ) << 63 ); } boost::detail::splitmix64 rng;