uint32 -> size_t

Signed-off-by: Chris Burel <burelc@amazon.com>
This commit is contained in:
Chris Burel
2021-05-24 12:04:06 -07:00
parent 88a9a4fb5d
commit 404ab51439
2 changed files with 3 additions and 3 deletions
@@ -363,8 +363,8 @@ namespace MCore
bool ReflectionSerializer::Deserialize(const AZ::TypeId& classTypeId, void* classPtr, const MCore::CommandLine& sourceCommandLine)
{
bool someError = false;
const uint32 numParameters = sourceCommandLine.GetNumParameters();
for (uint32 i = 0; i < numParameters; ++i)
const size_t numParameters = sourceCommandLine.GetNumParameters();
for (size_t i = 0; i < numParameters; ++i)
{
someError |= !DeserializeIntoMember(classTypeId, classPtr, sourceCommandLine.GetParameterName(i).c_str(), sourceCommandLine.GetParameterValue(i).c_str());
}
@@ -46,7 +46,7 @@ namespace MCore
AzFramework::StringFunc::TrimWhiteSpace(nameWithoutLastDigits, false /* leading */, true /* trailing */);
// generate the unique name
uint32 nameIndex = 0;
size_t nameIndex = 0;
AZStd::string uniqueName = nameWithoutLastDigits + "0";
while (validationFunction(uniqueName) == false)
{