[PATCH weston] rpi: Remove redundant cast
Kristian Høgsberg
hoegsberg at gmail.com
Fri Oct 11 01:52:56 CEST 2013
On Wed, Oct 09, 2013 at 11:29:45AM +0200, Tomeu Vizoso wrote:
> ---
> src/rpi-renderer.c | 3 +--
> 1 file changed, 1 insertion(+), 2 deletions(-)
Thanks, applied to master. We're not not branched yet, so this will
apply to both 1.3.1 and 1.4.
Kristian
> diff --git a/src/rpi-renderer.c b/src/rpi-renderer.c
> index 6b39e8c..a95cc60 100644
> --- a/src/rpi-renderer.c
> +++ b/src/rpi-renderer.c
> @@ -1288,8 +1288,7 @@ rpi_renderer_attach(struct weston_surface *base, struct weston_buffer *buffer)
> } else {
> #if ENABLE_EGL
> struct rpi_renderer *renderer = to_rpi_renderer(base->compositor);
> - struct wl_resource *wl_resource =
> - (struct wl_resource *)buffer->resource;
> + struct wl_resource *wl_resource = buffer->resource;
>
> if (!renderer->has_bind_display ||
> !renderer->query_buffer(renderer->egl_display,
> --
> 1.8.3.1
>
> _______________________________________________
> wayland-devel mailing list
> wayland-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/wayland-devel
More information about the wayland-devel
mailing list