From a90cf337c790e117e03b41bb9bbdbd84bcb47c6d Mon Sep 17 00:00:00 2001 From: twinaphex Date: Mon, 9 Jan 2017 01:56:36 +0100 Subject: [PATCH] C buildfix --- gfx/drivers_context/wayland_ctx.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gfx/drivers_context/wayland_ctx.c b/gfx/drivers_context/wayland_ctx.c index cd83b3e0cb..d12e2ebc6f 100644 --- a/gfx/drivers_context/wayland_ctx.c +++ b/gfx/drivers_context/wayland_ctx.c @@ -511,10 +511,10 @@ static void registry_handle_global(void *data, struct wl_registry *reg, wl->shell = (struct wl_shell*) wl_registry_bind(reg, id, &wl_shell_interface, 1); else if (string_is_equal(interface, "wl_shm")) - wl->shm = (wl_shm*)wl_registry_bind(reg, id, &wl_shm_interface, 1); + wl->shm = (struct wl_shm*)wl_registry_bind(reg, id, &wl_shm_interface, 1); else if (string_is_equal(interface, "wl_seat")) { - wl->seat = (wl_seat*)wl_registry_bind(reg, id, &wl_seat_interface, 4); + wl->seat = (struct wl_seat*)wl_registry_bind(reg, id, &wl_seat_interface, 4); wl_seat_add_listener(wl->seat, &seat_listener, wl); } }