Avoid -Wsign-conversion warning in mix_policy.cpp

This commit is contained in:
Peter Dimov
2022-02-10 18:22:52 +02:00
parent 526bf15c3c
commit bf0bc6468a

View File

@ -11,7 +11,7 @@ template<class Policy, class SizeT> void test( SizeT x )
{ {
if( x <= 4 ) if( x <= 4 )
{ {
BOOST_TEST_EQ( Policy::new_bucket_count( x ), 4 ); BOOST_TEST_EQ( Policy::new_bucket_count( x ), 4u );
} }
else else
{ {