Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix compiler warning (signed vs. unsigned)
  • Loading branch information
Zeno- committed Dec 8, 2014
1 parent 2a7c6d2 commit 7490368
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/mg_schematic.cpp
Expand Up @@ -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()]);
}

Expand Down

0 comments on commit 7490368

Please sign in to comment.