From 5fc8d5eb9de0921801c3116b4a7c5f51b0c48d0e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ra=C3=BAl=20Pe=C3=B1acoba?= Date: Tue, 28 Mar 2017 18:17:56 +0200 Subject: [PATCH] gl-renderer: Change 'data' type to 'uint8_t *', since 'void *' arithmetic is undefined MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Raúl Peñacoba Reviewed-by: Quentin Glidic --- libweston/gl-renderer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libweston/gl-renderer.c b/libweston/gl-renderer.c index c6091af0..0de2803f 100644 --- a/libweston/gl-renderer.c +++ b/libweston/gl-renderer.c @@ -1237,7 +1237,7 @@ gl_renderer_flush_damage(struct weston_surface *surface) struct weston_view *view; bool texture_used; pixman_box32_t *rectangles; - void *data; + uint8_t *data; int i, j, n; pixman_region32_union(&gs->texture_damage,