Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Fix compiler warning (signed vs. unsigned)
- Loading branch information
Showing
with
2 additions
and
1 deletion.
-
+2
−1
src/mg_schematic.cpp
|
@@ -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()]); |
|
|
} |
|
|
|
|
|