diff options
| author | Dustin Graves <dustin@lunarg.com> | 2016-04-06 16:47:10 -0600 |
|---|---|---|
| committer | Dustin Graves <dustin@lunarg.com> | 2016-04-06 16:47:10 -0600 |
| commit | 56a359dee652b78d2e7fd4a344e3f9244e29e112 (patch) | |
| tree | 76aed4a4b036be9d0c25795f27ff97aed0a521e1 | |
| parent | 3445572c5f5ad564b64c9737dd4ec857e68d1c39 (diff) | |
| download | usermoji-56a359dee652b78d2e7fd4a344e3f9244e29e112.tar.xz | |
layers: Fix 32-bit Windows build
Change reinterpret_cast<uint64_t> to reinterpret_cast<uint64_t&>.
Change-Id: I87b8479df6ba7f93b922bab11edbbf6c4fbfe7f6
| -rw-r--r-- | layers/core_validation.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/layers/core_validation.cpp b/layers/core_validation.cpp index 600c784f..a78e54a9 100644 --- a/layers/core_validation.cpp +++ b/layers/core_validation.cpp @@ -10196,7 +10196,7 @@ VKAPI_ATTR VkResult VKAPI_CALL vkBindImageMemory(VkDevice device, VkImage image, auto image_node = dev_data->imageMap.find(image); if (image_node != dev_data->imageMap.end()) { // Track objects tied to memory - uint64_t image_handle = reinterpret_cast<uint64_t>(image); + uint64_t image_handle = reinterpret_cast<uint64_t&>(image); skipCall = set_mem_binding(dev_data, mem, image_handle, VK_DEBUG_REPORT_OBJECT_TYPE_IMAGE_EXT, "vkBindImageMemory"); VkMemoryRequirements memRequirements; loader_platform_thread_unlock_mutex(&globalLock); |
