2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-08 17:44:56 +00:00

Windows compile fixes, and warning squash

This commit is contained in:
2016-07-23 23:05:12 -07:00
parent 4b10697a5a
commit 76b88d0ad6
11 changed files with 48 additions and 18 deletions

View File

@@ -204,7 +204,7 @@ bool MREA::Extract(const SpecBase& dataSpec,
/* Calculate offset to EGMC section */
atUint64 egmcOffset = 0;
for (int i = 0; i < head.egmcSecIdx; i++)
for (unsigned i = 0; i < head.egmcSecIdx; i++)
egmcOffset += head.secSizes[i];
/* Load EGMC if possible so we can assign meshes to scanIds */