mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-09-14 02:03:12 +02:00
Fix format string
Because the var is a int and %zu is for size_t
This commit is contained in:
parent
835c939153
commit
c88ec23177
@ -215,7 +215,7 @@ bool PCB_PLOTTER::Plot( const wxString& aOutputPath,
|
|||||||
if( m_plotOpts.GetFormat() == PLOT_FORMAT::PDF && m_plotOpts.m_PDFSingle
|
if( m_plotOpts.GetFormat() == PLOT_FORMAT::PDF && m_plotOpts.m_PDFSingle
|
||||||
&& i != layersToPlot.size() - 1 )
|
&& i != layersToPlot.size() - 1 )
|
||||||
{
|
{
|
||||||
wxString pageNumber = wxString::Format( "%zu", pageNum + 1 );
|
wxString pageNumber = wxString::Format( "%d", pageNum + 1 );
|
||||||
size_t nextI = i + 1;
|
size_t nextI = i + 1;
|
||||||
PCB_LAYER_ID nextLayer = layersToPlot[nextI];
|
PCB_LAYER_ID nextLayer = layersToPlot[nextI];
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user