CGameExporter: Make use of unsigned stream helpers where applicable

This commit is contained in:
Lioncash
2020-06-18 18:39:44 -04:00
parent a603b3a4ef
commit 2d1e6b9672
2 changed files with 106 additions and 107 deletions

View File

@@ -252,7 +252,7 @@ void CMaterialLoader::ReadCorruptionMatSet()
const uint32 NumMats = mpFile->ReadULong();
mpSet->mMaterials.resize(NumMats);
for (size_t iMat = 0; iMat < NumMats; iMat++)
for (uint32 iMat = 0; iMat < NumMats; iMat++)
{
const uint32 Size = mpFile->ReadULong();
const uint32 Next = mpFile->Tell() + Size;