mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-09-19 13:30:02 +00:00
Quiet a compiler warning
Avoid this warning the other way, without bumping the libvulkan dependency.
This commit is contained in:
parent
5009c691ac
commit
76461a8004
@ -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.";
|
||||
|
Loading…
Reference in New Issue
Block a user