mirror of
https://github.com/AxioDL/PrimeWorldEditor.git
synced 2025-12-16 08:27:01 +00:00
CGameArea: Make use of size_t where applicable
Plays nicer with the standard library and avoids truncation warnings.
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user