Fix 32-bit compilation warning
authorPiers Daniell <pdaniell@nvidia.com>
Wed, 20 Apr 2022 23:10:12 +0000 (17:10 -0600)
committerPiers Daniell <pdaniell@nvidia.com>
Wed, 20 Apr 2022 23:10:12 +0000 (17:10 -0600)
commitc78c37d593293a6e7f94d52ccd402f4d2452f90a
tree7c2e85c17965598f92183bc90af04f7c28671711
parentbb799876247672a66a743202094c1822af7427e2
Fix 32-bit compilation warning

There was a call to new[] in vktSpvAsmTrinaryMinMaxTests.cpp that used
a 64-bit values as an allocation size, which is not the type the
new operator expects when compiling for a 32-bit target.

Add a cast to fix the warning.

Affects:

dEQP-VK.spirv_assembly.instruction.amd_trinary_minmax.*

Components: Vulkan
Change-Id: I0941033614d67530f6cc157b5923e47bdca5c5a9
external/vulkancts/modules/vulkan/spirv_assembly/vktSpvAsmTrinaryMinMaxTests.cpp