https://bugs.gentoo.org/936962 https://github.com/libretro/RetroArch/commit/4ce7dd6fd5b6be4cb9049e7f58dda04051f877f7 --- a/gfx/drivers_context/wayland_ctx.c +++ b/gfx/drivers_context/wayland_ctx.c @@ -407,7 +407,7 @@ static bool gfx_ctx_wl_set_video_mode(void *data, goto error; } - if (!egl_create_surface(&wl->egl, (EGLNativeWindowType)wl->win)) + if (!egl_create_surface(&wl->egl, (void*)wl->win)) goto error; egl_set_swap_interval(&wl->egl, wl->egl.interval); #endif