Fix signedness in a couple comparisons (warning suppression)
This commit is contained in:
parent
48573712e8
commit
36b53a50e9
|
@ -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() );
|
||||
}
|
||||
|
|
|
@ -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() );
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue