From 0c7630f8b43c0e0cf6b89cdf3a1be7ec27b518a9 Mon Sep 17 00:00:00 2001 From: Jeff Young Date: Fri, 9 Oct 2020 00:31:29 +0100 Subject: [PATCH] Get rid of wxWidgets assert. --- pcbnew/drc/drc_engine.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pcbnew/drc/drc_engine.cpp b/pcbnew/drc/drc_engine.cpp index 2f01d5753c..c8e04ee4fd 100644 --- a/pcbnew/drc/drc_engine.cpp +++ b/pcbnew/drc/drc_engine.cpp @@ -226,7 +226,8 @@ void DRC_ENGINE::loadImplicitRules() for( DRC_RULE* netclassRule : netclassRules ) addRule( netclassRule ); - ReportAux( wxString::Format( "Building %d implicit netclass rules", netclassRules.size() ) ); + ReportAux( wxString::Format( "Building %d implicit netclass rules", + (int) netclassRules.size() ) ); } static wxString formatConstraint( const DRC_CONSTRAINT& constraint )