From 138ce7bda09ba9f7a1ec43493cf0ae6f57c87448 Mon Sep 17 00:00:00 2001 From: Adam Sawicki Date: Mon, 30 Oct 2023 18:14:08 +0100 Subject: [PATCH] Fix in VmaJsonWriter::ContinueString Fixes #376 Thanks @alecazam --- include/vk_mem_alloc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/vk_mem_alloc.h b/include/vk_mem_alloc.h index 3cc5880..e2c21a1 100644 --- a/include/vk_mem_alloc.h +++ b/include/vk_mem_alloc.h @@ -5674,7 +5674,7 @@ void VmaJsonWriter::ContinueString(const char* pStr) { m_SB.Add("\\\""); } - else if (ch >= 32) + else if ((uint8_t)ch >= 32) { m_SB.Add(ch); }