Get rid of some gcc warnings
This commit is contained in:
parent
436129cb75
commit
7a9467b0d5
|
@ -2192,7 +2192,7 @@ void DIALOG_PAD_PROPERTIES::onAddPrimitive( wxCommandEvent& event )
|
|||
PCB_SHAPE* primitive = new PCB_SHAPE();
|
||||
primitive->SetShape( listtype[type] );
|
||||
|
||||
if( type == arrayDim( shapelist ) - 1 )
|
||||
if( type == static_cast<int>( arrayDim( shapelist ) ) - 1 )
|
||||
primitive->SetIsAnnotationProxy();
|
||||
|
||||
primitive->SetStroke( STROKE_PARAMS( m_board->GetDesignSettings().GetLineThickness( F_Cu ),
|
||||
|
|
|
@ -594,7 +594,7 @@ void ROUTER_TOOL::saveRouterDebugLog()
|
|||
evt.sizes.TrackWidthIsExplicit() ? 1: 0,
|
||||
evt.sizes.GetLayerBottom(),
|
||||
evt.sizes.GetLayerTop(),
|
||||
evt.sizes.ViaType() );
|
||||
static_cast<int>( evt.sizes.ViaType() ) );
|
||||
}
|
||||
|
||||
// Export as *.kicad_pcb format, using a strategy which is specifically chosen
|
||||
|
|
Loading…
Reference in New Issue