eeschema: Fix sign error in comparison

This commit is contained in:
Seth Hillbrand 2019-05-09 08:10:53 -07:00
parent 2f782ac7a4
commit 0e5f5d37d1
1 changed files with 2 additions and 2 deletions

View File

@ -1189,7 +1189,7 @@ int SCH_EDIT_TOOL::ChangeShape( const TOOL_EVENT& aEvent )
else
return 0;
for( int i = 0; i < selection.GetSize(); ++i )
for( unsigned int i = 0; i < selection.GetSize(); ++i )
{
SCH_BUS_ENTRY_BASE* entry = dynamic_cast<SCH_BUS_ENTRY_BASE*>( selection.GetItem( i ) );
@ -1229,7 +1229,7 @@ int SCH_EDIT_TOOL::ChangeTextType( const TOOL_EVENT& aEvent )
else
return 0;
for( int i = 0; i < selection.GetSize(); ++i )
for( unsigned int i = 0; i < selection.GetSize(); ++i )
{
SCH_TEXT* text = dynamic_cast<SCH_TEXT*>( selection.GetItem( i ) );