fix signed-compare warnings

The m_iSelection array could probably be made unsigned... IF we were
confident we never try to assign it a negative number, of which fact I'm
not convinced.
This commit is contained in:
Devin J. Pohly
2014-02-08 19:59:10 -05:00
parent 04150e5002
commit 9916275a8a
4 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -398,7 +398,7 @@ void EditMenu::OnRowValueChanged( EditMenuRow row )
StepsType orgSel = StepsType_Invalid;
if( !m_StepsTypes.empty() ) // Not first run
{
ASSERT( m_StepsTypes.size() > m_iSelection[ROW_STEPS_TYPE] );
ASSERT( (int) m_StepsTypes.size() > m_iSelection[ROW_STEPS_TYPE] );
StepsType orgSel = m_StepsTypes[m_iSelection[ROW_STEPS_TYPE]];
}