From: Eric Engestrom Date: Thu, 16 Nov 2017 10:02:15 +0000 (+0000) Subject: egl: fix var type X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ca95d7ad4e1b900eb3d559ed5bda0b96b232961d;p=mesa.git egl: fix var type queryImage() takes an `int*`; compiler is warning about the signed<->unsigned pointer mismatch. Fixes: 0db36caa192b129cb4f2 "egl/wayland: Add a fallback when fourcc query isn't supported" Signed-off-by: Eric Engestrom Reviewed-by: Frank Binns Reviewed-by: Tapani Pälli Reviewed-by: Emil Velikov Reviewed-by: Derek Foreman --- diff --git a/src/egl/drivers/dri2/platform_wayland.c b/src/egl/drivers/dri2/platform_wayland.c index 2aecce35f99..02b32f98885 100644 --- a/src/egl/drivers/dri2/platform_wayland.c +++ b/src/egl/drivers/dri2/platform_wayland.c @@ -676,7 +676,7 @@ get_fourcc(struct dri2_egl_display *dri2_dpy, __DRIimage *image, int *fourcc) { EGLBoolean query; - uint32_t dri_format; + int dri_format; query = dri2_dpy->image->queryImage(image, __DRI_IMAGE_ATTRIB_FOURCC, fourcc);