Squish some warnings

This commit is contained in:
Jon Evans 2019-04-22 21:18:47 -04:00
parent c994961ebf
commit 62811d3209
2 changed files with 2 additions and 2 deletions

View File

@ -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 ) )
{

View File

@ -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 ];