mirror of
https://github.com/minetest/minetest.git
synced 2024-11-27 10:03:45 +01:00
Fix compiler warning about sign comparison
This commit is contained in:
parent
ecc514f11b
commit
b70e67df8c
@ -291,7 +291,7 @@ bool read_schematic_def(lua_State *L, int index,
|
||||
|
||||
//// Get Y-slice probability values (if present)
|
||||
schem->slice_probs = new u8[size.Y];
|
||||
for (i = 0; i != size.Y; i++)
|
||||
for (i = 0; i != (u32) size.Y; i++)
|
||||
schem->slice_probs[i] = MTSCHEM_PROB_ALWAYS;
|
||||
|
||||
lua_getfield(L, index, "yslice_prob");
|
||||
|
Loading…
Reference in New Issue
Block a user