From 423a5b9961e361777f838ccf8cf4e6ed5ba43ea1 Mon Sep 17 00:00:00 2001 From: Jeff Young Date: Sat, 30 Sep 2023 16:45:51 +0100 Subject: [PATCH] Fix format string specifier. --- eeschema/fields_grid_table.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eeschema/fields_grid_table.cpp b/eeschema/fields_grid_table.cpp index 24cc12ba5e..11d06fbee0 100644 --- a/eeschema/fields_grid_table.cpp +++ b/eeschema/fields_grid_table.cpp @@ -69,7 +69,7 @@ static wxString netList( SCH_SYMBOL* aSymbol, SCH_SHEET_PATH& aSheetPath ) */ wxString netlist; - netlist << wxString::Format( wxS( "%d\r" ), aSymbol->GetPins().size() ); + netlist << wxString::Format( wxS( "%ld\r" ), aSymbol->GetPins().size() ); wxArrayString fpFilters = aSymbol->GetLibSymbolRef()->GetFPFilters();