Quiet a compiler warning

Avoid this warning the other way, without bumping the libvulkan
dependency.
This commit is contained in:
Matthias Clasen 2018-01-10 07:35:46 -05:00
parent 5009c691ac
commit 76461a8004

View File

@ -93,7 +93,7 @@ G_DEFINE_ABSTRACT_TYPE_WITH_CODE (GdkVulkanContext, gdk_vulkan_context, GDK_TYPE
const char *
gdk_vulkan_strerror (VkResult result)
{
switch (result)
switch ((int)result)
{
case VK_SUCCESS:
return "Command successfully completed.";