Fix compile warnings
This commit is contained in:
@@ -504,7 +504,7 @@ void Animation::GetReferences(Array<Guid>& assets, Array<String>& files) const
|
|||||||
writer.StartObject();
|
writer.StartObject();
|
||||||
k.Value.Instance->Serialize(writer, nullptr);
|
k.Value.Instance->Serialize(writer, nullptr);
|
||||||
writer.EndObject();
|
writer.EndObject();
|
||||||
JsonAssetBase::GetReferences(StringAnsiView((char*)buffer.GetString(), buffer.GetSize()), assets);
|
JsonAssetBase::GetReferences(StringAnsiView((const char*)buffer.GetString(), (int32)buffer.GetSize()), assets);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -57,7 +57,7 @@ void LogContext::Print(LogType verbosity)
|
|||||||
LogContextData& context = stack.Ptr[index];
|
LogContextData& context = stack.Ptr[index];
|
||||||
|
|
||||||
// Skip duplicates
|
// Skip duplicates
|
||||||
if (index < stack.Count - 1 && stack.Ptr[stack.Count - 1] == context)
|
if (index < (int32)stack.Count - 1 && stack.Ptr[stack.Count - 1] == context)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
// Build call hierarchy via indentation
|
// Build call hierarchy via indentation
|
||||||
|
|||||||
Reference in New Issue
Block a user