radv/winsys: Fix use of nonexisting struct type in sizeof
authorTony Wasserka <tony.wasserka@gmx.de>
Tue, 3 Nov 2020 16:22:25 +0000 (17:22 +0100)
committerMarge Bot <eric+marge@anholt.net>
Fri, 20 Nov 2020 09:29:19 +0000 (09:29 +0000)
commit5cc29fccbeb761f124a71fc3d0c27d55a51596e9
tree0210f4db5db5544327d214d6ded1290a968abe58
parent9eda7f475cfebe79cefdb2ab19daeaa29030c704
radv/winsys: Fix use of nonexisting struct type in sizeof

Since only the pointer size is queried here, this is functionally
equivalent.

Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7430>
src/amd/vulkan/winsys/amdgpu/radv_amdgpu_cs.c