@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user