nested: Use a void * to avoid warnings with EGL_WL_bind_wayland_display

This commit is contained in:
Kristian Høgsberg 2013-08-12 22:21:19 -07:00
parent 4c1a9bc684
commit e9cabc1bc3
1 changed files with 1 additions and 1 deletions

View File

@ -269,7 +269,7 @@ surface_attach(struct wl_client *client,
{
struct nested_surface *surface = wl_resource_get_user_data(resource);
struct nested *nested = surface->nested;
struct wl_buffer *buffer = wl_resource_get_user_data(buffer_resource);
void *buffer = wl_resource_get_user_data(buffer_resource);
EGLint format, width, height;
cairo_device_t *device;