mirror of
https://github.com/minetest/minetest.git
synced 2024-12-28 08:57:30 +01:00
Fix compiler warning (signed vs. unsigned)
This commit is contained in:
parent
2a7c6d27b3
commit
7490368984
@ -57,7 +57,8 @@ void Schematic::updateContentIds()
|
||||
|
||||
flags |= SCHEM_CIDS_UPDATED;
|
||||
|
||||
for (size_t i = 0; i != size.X * size.Y * size.Z; i++)
|
||||
size_t bufsize = size.X * size.Y * size.Z;
|
||||
for (size_t i = 0; i != bufsize; i++)
|
||||
schemdata[i].setContent(c_nodes[schemdata[i].getContent()]);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user