From 3179e40b57ed2b14892837963edf323c8a01b33c Mon Sep 17 00:00:00 2001 From: jean-pierre charras Date: Wed, 18 Apr 2018 20:41:18 +0200 Subject: [PATCH] Fix compil warning (perhaps 32 bit build specific) --- eeschema/sch_legacy_plugin.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eeschema/sch_legacy_plugin.cpp b/eeschema/sch_legacy_plugin.cpp index aa782c0f3a..268ce4d120 100644 --- a/eeschema/sch_legacy_plugin.cpp +++ b/eeschema/sch_legacy_plugin.cpp @@ -3691,7 +3691,7 @@ void SCH_LEGACY_PLUGIN_CACHE::saveBezier( LIB_BEZIER* aBezier, { wxCHECK_RET( aBezier && aBezier->Type() == LIB_BEZIER_T, "Invalid LIB_BEZIER object." ); - aFormatter->Print( 0, "B %lu %d %d %d", aBezier->GetPoints().size(), + aFormatter->Print( 0, "B %u %d %d %d", (unsigned)aBezier->GetPoints().size(), aBezier->GetUnit(), aBezier->GetConvert(), aBezier->GetWidth() ); for( const auto& pt : aBezier->GetPoints() )