diff --git a/gerbview/files.cpp b/gerbview/files.cpp index 33a4a16d45..19cea8b5f2 100644 --- a/gerbview/files.cpp +++ b/gerbview/files.cpp @@ -298,12 +298,12 @@ bool GERBVIEW_FRAME::loadListOfGerberAndDrillFiles( const wxString& aPath, progress = std::make_unique( this, _( "Loading Gerber files..." ), 1, false ); progress->SetMaxProgress( aFilenameList.GetCount() - 1 ); - progress->Report( wxString::Format( _("Loading %d/%d %s" ), ii+1, + progress->Report( wxString::Format( _("Loading %u/%lu %s" ), ii+1, aFilenameList.GetCount(), m_lastFileName ) ); } else if( progress ) { - progress->Report( wxString::Format( _("Loading %d/%d %s" ), ii+1, + progress->Report( wxString::Format( _("Loading %u/%lu %s" ), ii+1, aFilenameList.GetCount(), m_lastFileName ) ); progress->KeepRefreshing(); }