+ apply f3nix:fix-gcc-warnings-1

This commit is contained in:
wmayer 2016-05-08 12:00:26 +02:00
parent fbf72553f3
commit 1ccab846e2

View File

@ -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];
}