From 198127a0ee31e2be6081fb83ab4bb9507eaab0c0 Mon Sep 17 00:00:00 2001 From: Russell Greene Date: Thu, 27 Oct 2022 14:46:35 -0500 Subject: [PATCH] Fix build for iOS --- include/vk_mem_alloc.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/vk_mem_alloc.h b/include/vk_mem_alloc.h index dc116b0..9ccae2e 100644 --- a/include/vk_mem_alloc.h +++ b/include/vk_mem_alloc.h @@ -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(" - ");