more fixes for w4267
Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com>
This commit is contained in:
@@ -161,7 +161,7 @@ namespace PhysX
|
||||
// Add it to the list otherwise
|
||||
sourceSceneMaterialNames.push_back(materialName);
|
||||
|
||||
AZ::u16 newIndex = sourceSceneMaterialNames.size() - 1;
|
||||
AZ::u16 newIndex = static_cast<AZ::u16>(sourceSceneMaterialNames.size() - 1);
|
||||
materialIndexByName[materialName] = newIndex;
|
||||
|
||||
return newIndex;
|
||||
|
||||
Reference in New Issue
Block a user