Fix compile warnings

This commit is contained in:
Steve Checkoway
2003-08-01 12:12:02 +00:00
parent 2dcb5f7a9e
commit 8c6ba0f506
5 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -515,7 +515,7 @@ void Course::GetCourseInfo( NotesType nt, vector<Course::Info> &ci, int Difficul
for( unsigned j=0; j<AllSongsShuffled.size(); j++ )
{
/* See if the first song matches what we want. */
ASSERT( CurSong < AllSongsShuffled.size() );
ASSERT( unsigned(CurSong) < AllSongsShuffled.size() );
pSong = AllSongsShuffled[CurSong];
ASSERT( pSong );
CurSong = (CurSong+1) % AllSongsShuffled.size();