Squish some warnings
This commit is contained in:
parent
c994961ebf
commit
62811d3209
|
@ -425,7 +425,7 @@ void SCH_COMPONENT::UpdatePins( SCH_SHEET_PATH* aSheet )
|
|||
if( PART_SPTR part = m_part.lock() )
|
||||
{
|
||||
m_pinMap.clear();
|
||||
int i = 0;
|
||||
unsigned i = 0;
|
||||
|
||||
for( LIB_PIN* libPin = part->GetNextPin(); libPin; libPin = part->GetNextPin( libPin ) )
|
||||
{
|
||||
|
|
|
@ -1109,7 +1109,7 @@ void SCH_PAINTER::draw( SCH_COMPONENT *aComp, int aLayer )
|
|||
tempPart.GetPins( tempPins, aComp->GetUnit(), aComp->GetConvert() );
|
||||
const SCH_PINS& compPins = aComp->GetPins();
|
||||
|
||||
for( int i = 0; i < tempPins.size() && i < compPins.size(); ++ i )
|
||||
for( unsigned i = 0; i < tempPins.size() && i < compPins.size(); ++ i )
|
||||
{
|
||||
LIB_PIN* tempPin = tempPins[ i ];
|
||||
const SCH_PIN& compPin = compPins[ i ];
|
||||
|
|
Loading…
Reference in New Issue