gl-renderer: Change 'data' type to 'uint8_t *', since 'void *' arithmetic is undefined

Signed-off-by: Raúl Peñacoba <raul.mikaop.zelda@gmail.com>
Reviewed-by: Quentin Glidic <sardemff7+git@sardemff7.net>
This commit is contained in:
Raúl Peñacoba 2017-03-28 18:17:56 +02:00 committed by Quentin Glidic
parent ceb5981af0
commit 5fc8d5eb9d
No known key found for this signature in database
GPG Key ID: AC203F96E2C34BB7

View File

@ -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,