1
0
Fork 0

Fix compiler warning (signed vs. unsigned)

mutilcraft-mt53
Craig Robbins 2014-12-08 22:50:39 +10:00
parent 2a7c6d27b3
commit 7490368984
1 changed files with 2 additions and 1 deletions

View File

@ -57,7 +57,8 @@ void Schematic::updateContentIds()
flags |= SCHEM_CIDS_UPDATED; 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()]); schemdata[i].setContent(c_nodes[schemdata[i].getContent()]);
} }