mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-09-14 02:03:12 +02:00
eeschema: Fix sign error in comparison
This commit is contained in:
parent
2f782ac7a4
commit
0e5f5d37d1
@ -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 ) );
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user