From 5a2d26ac1bce5c775db0df0a178e9efa401f7dec 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 ef6b0f3da0..2ec738a329 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]; }