diff --git a/stepmania/src/ScreenRanking.cpp b/stepmania/src/ScreenRanking.cpp index d68c36ff24..0b29f85381 100644 --- a/stepmania/src/ScreenRanking.cpp +++ b/stepmania/src/ScreenRanking.cpp @@ -63,7 +63,7 @@ static void GetAllSongsToShow( vector &vpOut, bool bShowOnlyMostRecentSco if( bShowOnlyMostRecentScores ) { SongUtil::SortByMostRecentlyPlayedForMachine( vpOut ); - if( vpOut.size() > iNumMostRecentScoresToShow ) + if( (int) vpOut.size() > iNumMostRecentScoresToShow ) vpOut.erase( vpOut.begin()+iNumMostRecentScoresToShow, vpOut.end() ); } } @@ -85,7 +85,7 @@ static void GetAllCoursesToShow( vector &vpOut, bool bShowOnlyMostRecen if( bShowOnlyMostRecentScores ) { CourseUtil::SortByMostRecentlyPlayedForMachine( vpOut ); - if( vpOut.size() > iNumMostRecentScoresToShow ) + if( (int) vpOut.size() > iNumMostRecentScoresToShow ) vpOut.erase( vpOut.begin()+iNumMostRecentScoresToShow, vpOut.end() ); } }