diff options
author | Thomas Weißschuh <thomas@t-8ch.de> | 2023-02-25 04:53:42 +0000 |
---|---|---|
committer | sfan5 <sfan5@live.de> | 2023-02-26 16:45:07 +0100 |
commit | b4ae1551e425aba7e01a9614b0b16e5b5f0bd8df (patch) | |
tree | 417fc439fa7e788e7b4ee9b832912b2481f86008 /video | |
parent | 5a83745316c7b2b3d4a1cea27bf3580252ef7708 (diff) | |
download | mpv-b4ae1551e425aba7e01a9614b0b16e5b5f0bd8df.tar.bz2 mpv-b4ae1551e425aba7e01a9614b0b16e5b5f0bd8df.tar.xz |
vo_wayland: fix warning -Wvoid-pointer-to-enum-cast
Diffstat (limited to 'video')
-rw-r--r-- | video/out/wayland_common.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |