[PATCH weston] gl-renderer: Change 'data' type to 'uint8_t *', since 'void *' arithmetic is undefined
Raúl Peñacoba
raul.mikaop.zelda at gmail.com
Tue Mar 28 16:17:56 UTC 2017
Signed-off-by: Raúl Peñacoba <raul.mikaop.zelda at gmail.com>
---
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,
--
2.12.1
More information about the wayland-devel
mailing list