Fix warnings.

This commit is contained in:
Steve Checkoway
2004-01-14 21:11:23 +00:00
parent 9e3e3e2b64
commit 1cac9d7b6f
3 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -1153,7 +1153,7 @@ bool MusicWheel::NextSort() // return true if change successful
// find the index of the current sort
int cur = 0;
while( cur < ARRAYSIZE(SortOrder) && SortOrder[cur] != GAMESTATE->m_SongSortOrder )
while( cur < int(ARRAYSIZE(SortOrder)) && SortOrder[cur] != GAMESTATE->m_SongSortOrder )
++cur;
// move to the next sort with wrapping