mirror of
https://github.com/boostorg/core.git
synced 2025-11-29 05:40:14 +01:00
More -Wconversion fixes for GCC 10 and below
This commit is contained in:
@@ -14,7 +14,7 @@ template<class T> void test_bit_ceil( T x )
|
||||
{
|
||||
if( !boost::core::has_single_bit( x ) )
|
||||
{
|
||||
x >>= 1;
|
||||
x = static_cast<T>( x >> 1 );
|
||||
}
|
||||
|
||||
T y = boost::core::bit_ceil( x );
|
||||
|
||||
Reference in New Issue
Block a user