fix signed/unsigned comparisons. Unless I'm mistaken, size() returns a size_t which is an unsigned int.

This commit is contained in:
Steve Checkoway
2004-01-10 07:30:08 +00:00
parent 51ee73d0a1
commit 4f62f34ad9
2 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -576,7 +576,7 @@ void ScreenOptionsMaster::RefreshIcons()
if( !GAMESTATE->IsHumanPlayer(p) )
continue;
for( int i=0; i<m_Rows.size(); i++ ) // foreach options line
for( unsigned i=0; i<m_Rows.size(); ++i ) // foreach options line
{
if( m_Rows[i]->Type == Row::ROW_EXIT )
continue; // skip