diff --git a/src/osm_lua_processing.cpp b/src/osm_lua_processing.cpp index 99130690..ac8f04bb 100644 --- a/src/osm_lua_processing.cpp +++ b/src/osm_lua_processing.cpp @@ -582,7 +582,7 @@ template<> struct kaguya::lua_type_traits { OsmLuaProcessing::OptionalRelation OsmLuaProcessing::NextRelation() { relationSubscript++; if (relationSubscript >= relationList.size()) return { true }; - return { false, relationList[relationSubscript].first, relationList[relationSubscript].second }; + return { false, static_cast(relationList[relationSubscript].first), relationList[relationSubscript].second }; } void OsmLuaProcessing::RestartRelations() {