vulkaninfo: use correct type in malloc sizing.
authorDave Airlie <airlied@redhat.com>
Fri, 12 Apr 2019 06:58:03 +0000 (16:58 +1000)
committerjeremyk-lunarg <jeremyk@lunarg.com>
Tue, 23 Apr 2019 19:19:30 +0000 (13:19 -0600)
commitbd66faa0a5694375f8afb5d2fd1e3f5e5bd6d097
tree7ee1d615186f2c9acc1305a2e9a5c6287f172bec
parent637506cd6d806c9c8f971a814731e00c3e31b739
vulkaninfo: use correct type in malloc sizing.

warning: Result of 'malloc' is converted to a pointer of type 'VkPresentModeKHR', which is incompatible with sizeof operand type 'VkPresentInfoKHR'

Pointed out by coverity.
vulkaninfo/vulkaninfo.c