mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Fix MSVC number conversion warning
This commit is contained in:
parent
ffd0ef16c4
commit
454a290370
1 changed files with 1 additions and 1 deletions
|
@ -674,7 +674,7 @@ int ModApiMapgen::l_set_gen_notify(lua_State *L)
|
||||||
lua_pushnil(L);
|
lua_pushnil(L);
|
||||||
while (lua_next(L, 2)) {
|
while (lua_next(L, 2)) {
|
||||||
if (lua_isnumber(L, -1))
|
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);
|
lua_pop(L, 1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue