From b4ae1551e425aba7e01a9614b0b16e5b5f0bd8df Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20Wei=C3=9Fschuh?= Date: Sat, 25 Feb 2023 04:53:42 +0000 Subject: vo_wayland: fix warning -Wvoid-pointer-to-enum-cast --- video/out/wayland_common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'video') diff --git a/video/out/wayland_common.c b/video/out/wayland_common.c index 2fe454e050..efa00075f9 100644 --- a/video/out/wayland_common.c +++ b/video/out/wayland_common.c @@ -1964,7 +1964,7 @@ int vo_wayland_control(struct vo *vo, int *events, int request, void *arg) } case VOCTRL_CONTENT_TYPE: { #if HAVE_WAYLAND_PROTOCOLS_1_27 - wl->current_content_type = (enum mp_content_type)arg; + wl->current_content_type = *(enum mp_content_type *)arg; set_content_type(wl); #endif return VO_TRUE; -- cgit v1.2.3