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

Windows build fixes and warning avoidance

This commit is contained in:
Jack Andersen
2018-05-24 20:39:38 -10:00
parent 3ceaa82035
commit 70b3404b7c
195 changed files with 428 additions and 502 deletions

View File

@@ -158,7 +158,8 @@ atUint64 CZipInputStream::readUBytesToBuf(void *buf, atUint64 len)
x30_zstrm.avail_in = readSz;
x30_zstrm.next_in = x24_compBuf.get();
}
if (inflate(&x30_zstrm, Z_NO_FLUSH) != Z_OK)
int inflateRet = inflate(&x30_zstrm, Z_NO_FLUSH);
if (inflateRet != Z_OK)
break;
}
return x30_zstrm.total_out;