diff --git a/pcbnew/zone.cpp b/pcbnew/zone.cpp index 5edd698345..fe8162a201 100644 --- a/pcbnew/zone.cpp +++ b/pcbnew/zone.cpp @@ -625,10 +625,10 @@ void ZONE::GetMsgPanelInfo( EDA_DRAW_FRAME* aFrame, std::vector& } else if( layers.size() > 3 ) { - layerDesc.Printf( _( "%s, %s and %zu more" ), + layerDesc.Printf( _( "%s, %s and %d more" ), GetBoard()->GetLayerName( layers[0] ), GetBoard()->GetLayerName( layers[1] ), - layers.size() - 2 ); + static_cast( layers.size() - 2 ) ); } aList.emplace_back( _( "Layer" ), layerDesc );