Fix GCC -Wlong-long warnings

This commit is contained in:
Peter Dimov committed 2022-02-08 22:00:42 +02:00
1 parent b38c148969
commit cf619432a7
10 files changed
+20 -20

No files matched your search

+2 -2
View File
@@ -152,7 +152,7 @@ int main()
}
{
unsigned long long x = 0;
boost::ulong_long_type x = 0;
BOOST_TEST_EQ( boost::core::rotl( x, i ), x );
BOOST_TEST_EQ( boost::core::rotr( x, i ), x );
}
@@ -168,7 +168,7 @@ int main()
test_rotate( static_cast<unsigned short>( x ) );
test_rotate( static_cast<unsigned int>( x ) );
test_rotate( static_cast<unsigned long>( x ) );
test_rotate( static_cast<unsigned long long>( x ) );
test_rotate( static_cast<boost::ulong_long_type>( x ) );
}
return boost::report_errors();