mirror of
https://github.com/alliedmodders/hl2sdk.git
synced 2025-09-20 20:46:03 +08:00
Modified SDK for GCC 4.2
This commit is contained in:
@ -81,7 +81,7 @@ int GetMPConceptIndexFromString( const char *pszConcept )
|
||||
// Make sure our concept string and enum arrays are the same length
|
||||
Assert( ARRAYSIZE( g_pszMPConcepts ) == MP_TF_CONCEPT_COUNT );
|
||||
|
||||
for ( int iConcept = 0; iConcept < ARRAYSIZE( g_pszMPConcepts ); ++iConcept )
|
||||
for ( size_t iConcept = 0; iConcept < ARRAYSIZE( g_pszMPConcepts ); ++iConcept )
|
||||
{
|
||||
if ( !Q_stricmp( pszConcept, g_pszMPConcepts[iConcept] ) )
|
||||
return iConcept;
|
||||
|
Reference in New Issue
Block a user