kimath: fix warning

This commit is contained in:
Tomasz Wlostowski 2020-02-28 22:53:08 +01:00
parent 9ded76bcad
commit b7aea6f14c
1 changed files with 1 additions and 1 deletions

View File

@ -39,7 +39,7 @@ class SHAPE;
SHAPE_LINE_CHAIN::SHAPE_LINE_CHAIN( const std::vector<int>& aV)
: SHAPE( SH_LINE_CHAIN ), m_closed( false ), m_width( 0 )
{
for(int i = 0; i < aV.size(); i+= 2 )
for(size_t i = 0; i < aV.size(); i+= 2 )
{
Append( aV[i], aV[i+1] );
}