Fix MSVC number conversion warning

This commit is contained in:
SmallJoker 2015-07-22 10:11:34 +02:00 committed by est31
parent ffd0ef16c4
commit 454a290370

@ -674,7 +674,7 @@ int ModApiMapgen::l_set_gen_notify(lua_State *L)
lua_pushnil(L);
while (lua_next(L, 2)) {
if (lua_isnumber(L, -1))
emerge->gen_notify_on_deco_ids.insert(lua_tonumber(L, -1));
emerge->gen_notify_on_deco_ids.insert((u32)lua_tonumber(L, -1));
lua_pop(L, 1);
}
}