fix a warning

This commit is contained in:
Glenn Maynard
2003-03-25 01:38:05 +00:00
parent c8efe2e5c7
commit 7a68deb7cc
+1 -1
View File
@@ -567,7 +567,7 @@ void Actor::Fade( float fSleepSeconds, CString sFadeString, float fFadeSeconds,
CString GetParam( const CStringArray& sParams, int iIndex, int& iMaxIndexAccessed )
{
iMaxIndexAccessed = max( iIndex, iMaxIndexAccessed );
if( iIndex < sParams.size() )
if( iIndex < int(sParams.size()) )
return sParams[iIndex];
else
return "";