From 1ccab846e2b463c4b53a68507221a68be674f4d9 Mon Sep 17 00:00:00 2001 From: wmayer Date: Sun, 8 May 2016 12:00:26 +0200 Subject: [PATCH] + apply f3nix:fix-gcc-warnings-1 --- src/Mod/Part/App/Attacher.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Mod/Part/App/Attacher.cpp b/src/Mod/Part/App/Attacher.cpp index ef6b0f3da..2ec738a32 100644 --- a/src/Mod/Part/App/Attacher.cpp +++ b/src/Mod/Part/App/Attacher.cpp @@ -325,7 +325,7 @@ void AttachEngine::suggestMapModes(SuggestResult &result) const //build string of references to be added to fit this mode refTypeString extraRefs; extraRefs.resize(str.size() - typeStr.size()); - for (int iChr = typeStr.size() ; iChr < str.size() ; iChr++){ + for (std::size_t iChr = typeStr.size(); iChr < str.size(); iChr++) { extraRefs[iChr - typeStr.size()] = str[iChr]; }