Merge pull request #291 from russelltg/ios_compile_fixes

Fix build for iOS
This commit is contained in:
Adam Sawicki 2022-10-28 10:07:06 +02:00 committed by GitHub
commit 8296345455
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -6468,10 +6468,10 @@ void VmaBlockMetadata::PrintDetailedMap_Begin(class VmaJsonWriter& json,
json.WriteSize(unusedBytes);
json.WriteString("Allocations");
json.WriteSize(allocationCount);
json.WriteSize((uint64_t)allocationCount);
json.WriteString("UnusedRanges");
json.WriteSize(unusedRangeCount);
json.WriteSize((uint64_t)unusedRangeCount);
json.WriteString("Suballocations");
json.BeginArray();
@ -16012,7 +16012,7 @@ void VmaAllocator_T::PrintDetailedMap(VmaJsonWriter& json)
{
json.WriteString("Name");
json.BeginString();
json.ContinueString_Size(index++);
json.ContinueString_Size((uint64_t)index++);
if (pool->GetName())
{
json.ContinueString(" - ");