diff --git a/stepmania/src/Course.cpp b/stepmania/src/Course.cpp index b65d3a0503..8860797afd 100644 --- a/stepmania/src/Course.cpp +++ b/stepmania/src/Course.cpp @@ -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() ); } }