[Mesa-dev] [PATCH mesa] egl: fix var type
Frank Binns
Frank.Binns at imgtec.com
Thu Nov 16 10:22:40 UTC 2017
Reviewed-by: Frank Binns <frank.binns at imgtec.com>
________________________________________
From: mesa-dev [mesa-dev-bounces at lists.freedesktop.org] on behalf of Eric Engestrom [eric.engestrom at imgtec.com]
Sent: 16 November 2017 10:16
To: mesa-dev at lists.freedesktop.org
Subject: [Mesa-dev] [PATCH mesa] 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 <eric.engestrom at imgtec.com>
---
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 7010dfdcb2beeafe30d8..b844df368ff934bfb652 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);
--
Cheers,
Eric
_______________________________________________
mesa-dev mailing list
mesa-dev at lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev
More information about the mesa-dev
mailing list