mirror of
https://github.com/libretro/RetroArch
synced 2024-12-28 18:31:05 +00:00
Explicitly cast to a pointer in wayland builds (#17019)
The build with `--enable-wayland --disable-kms` has a part where an unsigned long is passed as a void*, but GCC 14 enforces -Werror=int-conversion, causing the build to fail. https://gcc.gnu.org/gcc-14/porting_to.html#int-conversion
This commit is contained in:
parent
17c899fac3
commit
4ce7dd6fd5
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user