vkwindow: fix build error on i386
authorMatthew Waters <matthew@centricular.com>
Wed, 1 Feb 2017 05:05:23 +0000 (16:05 +1100)
committerMatthew Waters <matthew@centricular.com>
Wed, 1 Feb 2017 05:08:55 +0000 (16:08 +1100)
commitd7bb3b55425b8b6f910fb331046757947896f9dc
tree219dd9a0df8e970a1ebb50a6e571b98b1b326080
parentdf612f7eb15cc9c8d199ea8c00d42e9f38bb7549
vkwindow: fix build error on i386

Vulkan handles are either pointers (64-bit) or 64-bit integer
handles (32-bit). Cast the type in failure cases.

vkwindow.c:229:561: error: return makes integer from pointer without a cast [-Werror=int-conversion]
vkwindow.c:231:194: error: return makes integer from pointer without a cast [-Werror=int-conversion]

https://bugzilla.gnome.org/show_bug.cgi?id=777979
ext/vulkan/vkwindow.c