mirror of
https://github.com/boostorg/system.git
synced 2025-07-30 12:37:13 +02:00
Fix sign extension (warning 4826.) Closes #48.
This commit is contained in:
@ -784,7 +784,7 @@ inline std::size_t hash_value( error_code const & ec )
|
|||||||
|
|
||||||
if( id == 0 )
|
if( id == 0 )
|
||||||
{
|
{
|
||||||
id = reinterpret_cast<boost::ulong_long_type>( &cat );
|
id = reinterpret_cast<boost::uintptr_t>( &cat );
|
||||||
}
|
}
|
||||||
|
|
||||||
boost::ulong_long_type hv = ( boost::ulong_long_type( 0xCBF29CE4 ) << 32 ) + 0x84222325;
|
boost::ulong_long_type hv = ( boost::ulong_long_type( 0xCBF29CE4 ) << 32 ) + 0x84222325;
|
||||||
|
Reference in New Issue
Block a user