From 1068685677dd26dd1ec9fa3416caec18b7405d27 Mon Sep 17 00:00:00 2001 From: Bill Currie Date: Mon, 29 Mar 2021 19:55:05 +0900 Subject: [PATCH] [vulkan] Fix incorrect cast The result of an aborted attempt to get QF building for 32-bit windows. --- include/QF/Vulkan/debug.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/QF/Vulkan/debug.h b/include/QF/Vulkan/debug.h index c5fa70a7b..3250d5aca 100644 --- a/include/QF/Vulkan/debug.h +++ b/include/QF/Vulkan/debug.h @@ -86,7 +86,7 @@ if (dfunc->vkSetDebugUtilsObjectNameEXT) { \ VkDebugUtilsObjectNameInfoEXT nameInfo = { \ VK_STRUCTURE_TYPE_DEBUG_UTILS_OBJECT_NAME_INFO_EXT, 0, \ - type, (VkObjectType) handle, name \ + type, (uint64_t) handle, name \ }; \ dfunc->vkSetDebugUtilsObjectNameEXT (device->dev, &nameInfo); \ } \