Fix minor compil warnings
This commit is contained in:
parent
0d532b43de
commit
d54418c14a
|
@ -546,7 +546,7 @@ bool DIALOG_SPICE_MODEL::generatePowerSource( wxString& aTarget ) const
|
|||
// all empty
|
||||
useTrans = false;
|
||||
}
|
||||
else if( std::distance( genericControls.begin(), first_empty ) < genericReqParamsCount )
|
||||
else if( std::distance( genericControls.begin(), first_empty ) < (int)genericReqParamsCount )
|
||||
{
|
||||
DisplayError( nullptr,
|
||||
wxString::Format( wxT( "You need to specify at least the "
|
||||
|
|
|
@ -246,7 +246,7 @@ int TestMultiunitFootprints( SCH_SHEET_LIST& aSheetList )
|
|||
wxString fp;
|
||||
wxString unitName;
|
||||
|
||||
for( int i = 0; i < component.second.GetCount(); ++i )
|
||||
for( unsigned i = 0; i < component.second.GetCount(); ++i )
|
||||
{
|
||||
SCH_COMPONENT* cmp = refList.GetItem( i ).GetComp();
|
||||
SCH_SHEET_PATH sheetPath = refList.GetItem( i ).GetSheetPath();
|
||||
|
@ -260,7 +260,7 @@ int TestMultiunitFootprints( SCH_SHEET_LIST& aSheetList )
|
|||
}
|
||||
}
|
||||
|
||||
for( int i = 0; i < component.second.GetCount(); ++i )
|
||||
for( unsigned i = 0; i < component.second.GetCount(); ++i )
|
||||
{
|
||||
SCH_REFERENCE& ref = refList.GetItem( i );
|
||||
SCH_COMPONENT* unit = ref.GetComp();
|
||||
|
|
Loading…
Reference in New Issue