CWorld: Eliminate sign conversion warnings

This commit is contained in:
Lioncash 2020-06-14 19:48:23 -04:00
parent 35ea47e473
commit 9e3018809f

View File

@ -43,7 +43,9 @@ void CWorld::SetAreaLayerInfo(CGameArea *pArea)
for (uint32 iLyr = 0; iLyr < pArea->NumScriptLayers(); iLyr++) for (uint32 iLyr = 0; iLyr < pArea->NumScriptLayers(); iLyr++)
{ {
if (AreaInfo.Layers.size() <= iLyr) break; if (AreaInfo.Layers.size() <= iLyr)
break;
CScriptLayer *pLayer = pArea->ScriptLayer(iLyr); CScriptLayer *pLayer = pArea->ScriptLayer(iLyr);
SArea::SLayer& rLayerInfo = AreaInfo.Layers[iLyr]; SArea::SLayer& rLayerInfo = AreaInfo.Layers[iLyr];
@ -78,7 +80,7 @@ uint32 CWorld::AreaIndex(CAssetID AreaID) const
return AreaIdx; return AreaIdx;
} }
return -1; return UINT32_MAX;
} }
// ************ SERIALIZATION ************ // ************ SERIALIZATION ************