mirror of
https://github.com/alliedmodders/hl2sdk.git
synced 2025-09-19 20:16:10 +08:00
Fix unsigned/signed comparison warning in cstrike15_usermessage_helpers.
This commit is contained in:
@ -94,7 +94,7 @@ const google::protobuf::Message *CCstrike15UsermessageHelpers::GetPrototype( con
|
|||||||
|
|
||||||
int CCstrike15UsermessageHelpers::GetIndex( const char *name ) const
|
int CCstrike15UsermessageHelpers::GetIndex( const char *name ) const
|
||||||
{
|
{
|
||||||
int idx = m_NameIndexMap.Find( name );
|
unsigned int idx = m_NameIndexMap.Find( name );
|
||||||
if( idx != m_NameIndexMap.InvalidHandle() )
|
if( idx != m_NameIndexMap.InvalidHandle() )
|
||||||
return m_NameIndexMap[idx];
|
return m_NameIndexMap[idx];
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user