From 31e9895a1a4695d8aa53ebdbe543ef2e259448e3 Mon Sep 17 00:00:00 2001 From: jean-pierre charras Date: Thu, 15 Apr 2021 19:47:06 +0200 Subject: [PATCH] Fix a minor compil warning --- eeschema/sch_plugins/cadstar/cadstar_sch_archive_loader.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eeschema/sch_plugins/cadstar/cadstar_sch_archive_loader.cpp b/eeschema/sch_plugins/cadstar/cadstar_sch_archive_loader.cpp index ee580f3a9b..ad10266567 100644 --- a/eeschema/sch_plugins/cadstar/cadstar_sch_archive_loader.cpp +++ b/eeschema/sch_plugins/cadstar/cadstar_sch_archive_loader.cpp @@ -1302,7 +1302,7 @@ void CADSTAR_SCH_ARCHIVE_LOADER::loadSymDefIntoLibrary( const SYMDEF_ID& aSymdef wxStringSplit( csText.Text, strings, '\n' ); wxPoint firstLinePos; - for( int ii = 0; ii < strings.size(); ++ii ) + for( size_t ii = 0; ii < strings.size(); ++ii ) { EDA_RECT bbox = libtext->GetTextBox( ii, true ); wxPoint linePos = { bbox.GetLeft(), -bbox.GetBottom() };