Fix format string

Because the var is a int and %zu is for size_t
This commit is contained in:
Marek Roszko 2025-06-03 07:44:47 -04:00
parent 835c939153
commit c88ec23177

View File

@ -215,7 +215,7 @@ bool PCB_PLOTTER::Plot( const wxString& aOutputPath,
if( m_plotOpts.GetFormat() == PLOT_FORMAT::PDF && m_plotOpts.m_PDFSingle
&& i != layersToPlot.size() - 1 )
{
wxString pageNumber = wxString::Format( "%zu", pageNum + 1 );
wxString pageNumber = wxString::Format( "%d", pageNum + 1 );
size_t nextI = i + 1;
PCB_LAYER_ID nextLayer = layersToPlot[nextI];