mirror of
https://github.com/openmoh/openmohaa.git
synced 2025-04-28 21:57:57 +03:00
Fixed compiler warnings on x64 due to HashCode returning an int
This commit is contained in:
parent
95a244fde0
commit
3e23ed9e24
2 changed files with 2 additions and 2 deletions
|
@ -70,7 +70,7 @@ int HashCode< unsigned char >( const unsigned char& key )
|
|||
template<>
|
||||
int HashCode< unsigned char * >( unsigned char * const& key )
|
||||
{
|
||||
return ( int )key;
|
||||
return (int)(size_t)key;
|
||||
}
|
||||
|
||||
template<>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue