From 66912641df480f53a0bac459fc7b6395d31c4eb3 Mon Sep 17 00:00:00 2001 From: Daniel Stone Date: Tue, 6 Feb 2018 09:33:56 +0000 Subject: [PATCH] egl/wayland: Use proper enum type in visual definition No semantic change. Signed-off-by: Daniel Stone Reviewed-by: Emil Velikov Tested-by: Ilia Mirkin --- src/egl/drivers/dri2/platform_wayland.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/egl/drivers/dri2/platform_wayland.c b/src/egl/drivers/dri2/platform_wayland.c index b74dfa2ba9f..1384cddd6b0 100644 --- a/src/egl/drivers/dri2/platform_wayland.c +++ b/src/egl/drivers/dri2/platform_wayland.c @@ -67,7 +67,7 @@ enum wl_drm_format_flags { static const struct { const char *format_name; - int has_format; + enum wl_drm_format_flags has_format; unsigned int rgba_masks[4]; } dri2_wl_visuals[] = { { -- 2.30.2