Fix some GCC warnings.

This commit is contained in:
Mateusz Skowroński
2016-05-19 22:22:12 +02:00
parent 716e2563b7
commit f1077748fa
3 changed files with 2 additions and 11 deletions

View File

@@ -250,7 +250,7 @@ PyObject* AttachEnginePy::getModeInfo(PyObject* args)
refTypeStringList &listOfCombinations = attacher.modeRefTypes.at(mmode);
for(const refTypeString &combination: listOfCombinations){
pyCombination = Py::List(combination.size());
for(int iref = 0 ; iref < combination.size() ; iref++){
for(std::size_t iref = 0; iref < combination.size(); iref++) {
pyCombination[iref] = Py::String(AttachEngine::getRefTypeName(combination[iref]));
}
pyListOfCombinations.append(pyCombination);