Skip to content
Snippets Groups Projects
Commit b70e67df authored by est31's avatar est31
Browse files

Fix compiler warning about sign comparison

parent ecc514f1
No related branches found
No related tags found
No related merge requests found
......@@ -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");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment