Fix signed vs. unsigned.

This commit is contained in:
Steve Checkoway
2003-10-16 17:38:59 +00:00
parent 04146a0e5c
commit ab86c193cd
+1 -1
View File
@@ -395,7 +395,7 @@ void Course::MemCardData::AddHighScore( HighScore hs, int &iIndexOut )
{
vHighScores.insert( vHighScores.begin()+i, hs );
iIndexOut = i;
if( vHighScores.size() > NUM_RANKING_LINES )
if( vHighScores.size() > unsigned(NUM_RANKING_LINES) )
vHighScores.erase( vHighScores.begin()+NUM_RANKING_LINES, vHighScores.end() );
}
}