Fix sign extension (warning 4826.) Closes #48.

This commit is contained in:
Peter Dimov
2019-05-24 18:55:27 +03:00
parent 835e5de228
commit c08b8a94ea

View File

@ -784,7 +784,7 @@ inline std::size_t hash_value( error_code const & ec )
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;