Fix GCC -Wlong-long warnings

This commit is contained in:
Peter Dimov
2022-02-08 22:00:42 +02:00
parent b38c148969
commit cf619432a7
10 changed files with 20 additions and 20 deletions

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();