diff --git a/src/util/vulkan_device.cpp b/src/util/vulkan_device.cpp index 7764526f6..e94c1c4c9 100644 --- a/src/util/vulkan_device.cpp +++ b/src/util/vulkan_device.cpp @@ -93,7 +93,7 @@ const std::array(GPUTexture::Format::MaxCount)> Vulka static constexpr VkClearValue s_present_clear_color = {{{0.0f, 0.0f, 0.0f, 1.0f}}}; // Handles are always 64-bit, even on 32-bit platforms. -static const VkRenderPass DYNAMIC_RENDERING_RENDER_PASS = reinterpret_cast(static_cast(-1LL)); +static const VkRenderPass DYNAMIC_RENDERING_RENDER_PASS = ((VkRenderPass)static_cast(-1LL)); #ifdef _DEBUG static u32 s_debug_scope_depth = 0;