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
|
// all empty
|
||||||
useTrans = false;
|
useTrans = false;
|
||||||
}
|
}
|
||||||
else if( std::distance( genericControls.begin(), first_empty ) < genericReqParamsCount )
|
else if( std::distance( genericControls.begin(), first_empty ) < (int)genericReqParamsCount )
|
||||||
{
|
{
|
||||||
DisplayError( nullptr,
|
DisplayError( nullptr,
|
||||||
wxString::Format( wxT( "You need to specify at least the "
|
wxString::Format( wxT( "You need to specify at least the "
|
||||||
|
|
|
@ -246,7 +246,7 @@ int TestMultiunitFootprints( SCH_SHEET_LIST& aSheetList )
|
||||||
wxString fp;
|
wxString fp;
|
||||||
wxString unitName;
|
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_COMPONENT* cmp = refList.GetItem( i ).GetComp();
|
||||||
SCH_SHEET_PATH sheetPath = refList.GetItem( i ).GetSheetPath();
|
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_REFERENCE& ref = refList.GetItem( i );
|
||||||
SCH_COMPONENT* unit = ref.GetComp();
|
SCH_COMPONENT* unit = ref.GetComp();
|
||||||
|
|
Loading…
Reference in New Issue