From 8e15bdc9179213d403b540a879a1816699bde5e6 Mon Sep 17 00:00:00 2001 From: ArielG-NV <159081215+ArielG-NV@users.noreply.github.com> Date: Wed, 22 May 2024 09:18:22 -0400 Subject: Fix all Clang-14 warnings (#4203) * fix all Clang-14 warnings * remove a clang-14 warning fix because it is a MSVC warning... --- tools/gfx/vulkan/vk-device.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools/gfx/vulkan/vk-device.cpp') diff --git a/tools/gfx/vulkan/vk-device.cpp b/tools/gfx/vulkan/vk-device.cpp index 03165f606..8ad941ead 100644 --- a/tools/gfx/vulkan/vk-device.cpp +++ b/tools/gfx/vulkan/vk-device.cpp @@ -1678,7 +1678,7 @@ Result DeviceImpl::createTextureResource( break; case SLANG_SCALAR_TYPE_UINT32: for(int i = 0; i < 4; i++) - clearColor.uint32[i] = *reinterpret_cast(const_cast(initData->data)); break; + clearColor.uint32[i] = *reinterpret_cast(const_cast(initData->data)); break; case SLANG_SCALAR_TYPE_INT64: { -- cgit v1.2.3