From c547fae79550bef2d25dee6463cd231c85c57c4f Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Tue, 21 Oct 2003 20:31:47 +0000 Subject: [PATCH] fix warning --- stepmania/src/SongManager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stepmania/src/SongManager.cpp b/stepmania/src/SongManager.cpp index 74c4a80d1b..dd77b007fa 100644 --- a/stepmania/src/SongManager.cpp +++ b/stepmania/src/SongManager.cpp @@ -109,7 +109,7 @@ void SongManager::CategoryData::AddHighScore( HighScore hs, int &iIndexOut ) { vHighScores.insert( vHighScores.begin()+i, hs ); iIndexOut = i; - if( vHighScores.size() > NUM_RANKING_LINES ) + if( int(vHighScores.size()) > NUM_RANKING_LINES ) vHighScores.erase( vHighScores.begin()+NUM_RANKING_LINES, vHighScores.end() ); } }