Skip to content

Commit 1f04c53

Browse files
committed
Avoid narrowing conversion
1 parent fbc3ff9 commit 1f04c53

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tagtransform-lua.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,8 +110,8 @@ bool lua_tagtransform_t::filter_tags(osmium::OSMObject const &o, bool *polygon,
110110
lua_pushstring(lua_state(), t.key.c_str());
111111
lua_pushstring(lua_state(), t.value.c_str());
112112
lua_rawset(lua_state(), -3);
113+
++sz;
113114
}
114-
sz += tags.size();
115115
}
116116

117117
lua_pushinteger(lua_state(), sz);

0 commit comments

Comments
 (0)