Fix signedness in a couple comparisons (warning suppression)

This commit is contained in:
Chris Pavlina 2016-04-12 19:18:42 -04:00
parent 48573712e8
commit 36b53a50e9
2 changed files with 2 additions and 2 deletions

View File

@ -123,7 +123,7 @@ bool DIALOG_GRAPHIC_ITEM_PROPERTIES::TransferDataToWindow()
m_DefaulThicknessTextUnit,
};
for( int ii = 0; ii < DIM( texts_unit ); ii++ )
for( size_t ii = 0; ii < DIM( texts_unit ); ii++ )
{
texts_unit[ii]->SetLabel( GetAbbreviatedUnitsLabel() );
}

View File

@ -134,7 +134,7 @@ bool DIALOG_MODEDIT_FP_BODY_ITEM_PROPERTIES::TransferDataToWindow()
m_DefaulThicknessTextUnit,
};
for( int ii = 0; ii < DIM( texts_unit ); ii++ )
for( size_t ii = 0; ii < DIM( texts_unit ); ii++ )
{
texts_unit[ii]->SetLabel( GetAbbreviatedUnitsLabel() );
}