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

Quentin Glidic sardemff7+wayland at sardemff7.net
Thu Mar 30 23:27:26 UTC 2017


On 3/28/17 6:17 PM, Raúl Peñacoba wrote:
> Signed-off-by: Raúl Peñacoba <raul.mikaop.zelda at gmail.com>
Good:
Reviewed-by: Quentin Glidic <sardemff7+git at sardemff7.net>

And pushed:
ceb5981a..5fc8d5eb  master -> master

Thanks,


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


-- 

Quentin “Sardem FF7” Glidic


More information about the wayland-devel mailing list