diff --git a/apps/opencs/model/tools/search.cpp b/apps/opencs/model/tools/search.cpp index 9f2edfb93..e2cfd177b 100644 --- a/apps/opencs/model/tools/search.cpp +++ b/apps/opencs/model/tools/search.cpp @@ -78,7 +78,7 @@ void CSMTools::Search::searchRecordStateCell (const CSMWorld::IdTableBase *model std::vector states = CSMWorld::Columns::getEnums (CSMWorld::Columns::ColumnId_Modification); - const std::string hint = "r: " + model->getColumnId (index.column()); + const std::string hint = "r: " + std::to_string(model->getColumnId(index.column())); messages.add (id, states.at(data), hint); } } diff --git a/apps/openmw/mwmechanics/alchemy.cpp b/apps/openmw/mwmechanics/alchemy.cpp index a4434e7db..facac4291 100644 --- a/apps/openmw/mwmechanics/alchemy.cpp +++ b/apps/openmw/mwmechanics/alchemy.cpp @@ -154,7 +154,7 @@ void MWMechanics::Alchemy::updateEffects() if (magicEffect->mData.mBaseCost<=0) { - const std::string os = "invalid base cost for magic effect " + iter->mId; + const std::string os = "invalid base cost for magic effect " + std::to_string(iter->mId); throw std::runtime_error (os); }