screenshooter: remove useless cast

Signed-off-by: Derek Foreman <derekf@osg.samsung.com>
This commit is contained in:
Derek Foreman 2015-02-02 13:03:23 -06:00 committed by Bryce Harrington
parent 7424c81217
commit aff7c334fa
1 changed files with 1 additions and 2 deletions

View File

@ -558,8 +558,7 @@ weston_recorder_destroy(struct weston_recorder *recorder)
static void
recorder_binding(struct weston_seat *seat, uint32_t time, uint32_t key, void *data)
{
struct weston_seat *ws = (struct weston_seat *) seat;
struct weston_compositor *ec = ws->compositor;
struct weston_compositor *ec = seat->compositor;
struct weston_output *output;
struct wl_listener *listener = NULL;
struct weston_recorder *recorder;