From 0aa4f11970c3b15dbfe06288906bb38eed615293 Mon Sep 17 00:00:00 2001
From: Jeff Young <jeff@rokeby.ie>
Date: Thu, 20 Mar 2025 09:33:55 +0000
Subject: [PATCH] Fix format string.

---
 pcbnew/pcb_plotter.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pcbnew/pcb_plotter.cpp b/pcbnew/pcb_plotter.cpp
index 30cf14609a..bb801a411b 100644
--- a/pcbnew/pcb_plotter.cpp
+++ b/pcbnew/pcb_plotter.cpp
@@ -171,7 +171,7 @@ bool PCB_PLOTTER::Plot( const wxString& aOutputPath,
                     && m_plotOpts.m_PDFSingle ) )
         {
             // this will only be used by pdf
-            wxString pageNumber = wxString::Format( "%zu", pageNum );
+            wxString pageNumber = wxString::Format( "%d", pageNum );
             wxString pageName = layerName;
             wxString sheetName = layerName;