1
0
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:
Nicholas Hastings
2014-09-02 15:33:10 -04:00
parent 223a7ab7a2
commit 2af761005b

View File

@ -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];