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

@@ -27,7 +27,7 @@ int main()
test_countr( static_cast<unsigned short>( 0 ) );
test_countr( static_cast<unsigned int>( 0 ) );
test_countr( static_cast<unsigned long>( 0 ) );
test_countr( static_cast<unsigned long long>( 0 ) );
test_countr( static_cast<boost::ulong_long_type>( 0 ) );
boost::detail::splitmix64 rng;
@@ -39,7 +39,7 @@ int main()
test_countr( static_cast<unsigned short>( x ) );
test_countr( static_cast<unsigned int>( x ) );
test_countr( static_cast<unsigned long>( x ) );
test_countr( static_cast<unsigned long long>( x ) );
test_countr( static_cast<boost::ulong_long_type>( x ) );
}
return boost::report_errors();