From 01a65038ca9bcee7d382f88aab58513e64b9e37f Mon Sep 17 00:00:00 2001 From: Dustin Graves Date: Fri, 8 Jul 2016 15:03:39 -0600 Subject: layers: Fix WIN32 build Fix a uint64_t to VkImage reinterpret_cast for 32-bit VS2013. I Missed this when reviewing the previous change. Change-Id: I4a0865ab546b45792b8f4d841f6c6c04ff22501b --- layers/core_validation.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'layers/core_validation.cpp') diff --git a/layers/core_validation.cpp b/layers/core_validation.cpp index 9c1e679c..cd804b81 100644 --- a/layers/core_validation.cpp +++ b/layers/core_validation.cpp @@ -3723,13 +3723,13 @@ static bool addCmd(layer_data *my_data, GLOBAL_CB_NODE *pCB, const CMD_TYPE cmd, static void removeCommandBufferBinding(layer_data *dev_data, VK_OBJECT const *object, GLOBAL_CB_NODE *cb_node) { switch (object->type) { case VK_DEBUG_REPORT_OBJECT_TYPE_IMAGE_EXT: { - auto img_node = getImageNode(dev_data, reinterpret_cast(object->handle)); + auto img_node = getImageNode(dev_data, reinterpret_cast(object->handle)); if (img_node) img_node->cb_bindings.erase(cb_node); break; } case VK_DEBUG_REPORT_OBJECT_TYPE_BUFFER_EXT: { - auto buf_node = getBufferNode(dev_data, reinterpret_cast(object->handle)); + auto buf_node = getBufferNode(dev_data, reinterpret_cast(object->handle)); if (buf_node) buf_node->cb_bindings.erase(cb_node); break; -- cgit v1.2.3