diff --git a/eeschema/sch_plugins/cadstar/cadstar_sch_archive_loader.cpp b/eeschema/sch_plugins/cadstar/cadstar_sch_archive_loader.cpp index f0c13a67b3..7226214915 100644 --- a/eeschema/sch_plugins/cadstar/cadstar_sch_archive_loader.cpp +++ b/eeschema/sch_plugins/cadstar/cadstar_sch_archive_loader.cpp @@ -126,10 +126,10 @@ CADSTAR_SCH_ARCHIVE_LOADER::loadLibPart( const CADSTAR_PART_ENTRY& aPart ) // Load the graphical symbol for this gate std::unique_ptr kiSymDef( loadSymdef( symbolID )->Duplicate() ); - if( sym.m_Pins.size() != kiSymDef->GetPinCount() ) + if( (int)sym.m_Pins.size() != kiSymDef->GetPinCount() ) { m_reporter->Report( - wxString::Format( _( "Inconsitent pin numbers in symbol %s compared to the one " + wxString::Format( _( "Inconsistent pin numbers in symbol %s compared to the one " "defined in part %s. The part was not loaded." ), generateLibName( sym.m_SymbolName, alternateName ), aPart.m_Name ), diff --git a/pcbnew/footprint_chooser_frame.cpp b/pcbnew/footprint_chooser_frame.cpp index 4483acd21e..d860bf6763 100644 --- a/pcbnew/footprint_chooser_frame.cpp +++ b/pcbnew/footprint_chooser_frame.cpp @@ -75,7 +75,8 @@ FOOTPRINT_CHOOSER_FRAME::FOOTPRINT_CHOOSER_FRAME( KIWAY* aKiway, wxWindow* aPare FOOTPRINT_CHOOSER_FRAME_NAME ), m_filterByPinCount( nullptr ), m_filterByFPFilters( nullptr ), - m_pinCount( 0 ) + m_pinCount( 0 ), + m_firstPaintEvent( true ) { SetModal( true );