From 7a68deb7cc2230dd36af296c33008472654879b8 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Tue, 25 Mar 2003 01:38:05 +0000 Subject: [PATCH] fix a warning --- stepmania/src/Actor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stepmania/src/Actor.cpp b/stepmania/src/Actor.cpp index f578e9ced4..c9482c0aa6 100644 --- a/stepmania/src/Actor.cpp +++ b/stepmania/src/Actor.cpp @@ -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 "";