From 66909168ac76e7ce9284701157c8bd6068c51cdf Mon Sep 17 00:00:00 2001 From: kd-11 Date: Sat, 5 Apr 2025 14:25:08 +0300 Subject: [PATCH] vk: Silence compiler warning --- rpcs3/Emu/RSX/VK/vkutils/descriptors.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rpcs3/Emu/RSX/VK/vkutils/descriptors.cpp b/rpcs3/Emu/RSX/VK/vkutils/descriptors.cpp index 9b5f288141..2dc70d4070 100644 --- a/rpcs3/Emu/RSX/VK/vkutils/descriptors.cpp +++ b/rpcs3/Emu/RSX/VK/vkutils/descriptors.cpp @@ -433,7 +433,7 @@ namespace vk void descriptor_set::push(const descriptor_set_dynamic_offset_t& offset) { ensure(offset.location >= 0 && offset.location <= 16); - while (m_dynamic_offsets.size() < (offset.location + 1)) + while (m_dynamic_offsets.size() < (static_cast(offset.location) + 1u)) { m_dynamic_offsets.push_back(0); }