CGameArea: Make use of size_t where applicable

Plays nicer with the standard library and avoids truncation warnings.
This commit is contained in:
Lioncash
2020-06-18 05:10:09 -04:00
parent 456530605f
commit 6d98e918ae
13 changed files with 79 additions and 76 deletions

View File

@@ -280,7 +280,7 @@ void GenerateAssetNames(CGameProject *pProj)
}
// Generate names from script instance names
for (uint32 iLyr = 0; iLyr < pArea->NumScriptLayers(); iLyr++)
for (size_t iLyr = 0; iLyr < pArea->NumScriptLayers(); iLyr++)
{
CScriptLayer *pLayer = pArea->ScriptLayer(iLyr);