compositor: fix surface pointer cast
authorPekka Paalanen <ppaalanen@gmail.com>
Wed, 10 Oct 2012 09:49:30 +0000 (12:49 +0300)
committerKristian Høgsberg <krh@bitplanet.net>
Thu, 11 Oct 2012 01:39:00 +0000 (21:39 -0400)
commit6c71ee1ba29a44015c978861ea9ae227ea5f6794
treeb783761d6cb554064e1eeed59ccfb6ca2b5c87ae
parentb89b004e571462963a083fc3384c3bcbabdc0a41
compositor: fix surface pointer cast

In weston, the wl_resource:data field for a wl_surface object always
contains struct weston_surface *, never struct wl_surface *.

Even though this is just a cosmetic fix, it should reduce confusion.

Signed-off-by: Pekka Paalanen <ppaalanen@gmail.com>
src/compositor.c