diff options
author | Kacper Michajłow <kasper93@gmail.com> | 2023-10-14 16:06:42 +0200 |
---|---|---|
committer | Dudemanguy <random342@airmail.cc> | 2023-10-19 14:03:23 +0000 |
commit | 1ea1359a822e6eb23137d93c6261d96a3d257f08 (patch) | |
tree | 133c5474be09aa60a44b9768bda50e42d15b1be9 /video/out/w32_common.c | |
parent | f0b2854e932630cd31962f788687d5c77fa77702 (diff) | |
download | mpv-1ea1359a822e6eb23137d93c6261d96a3d257f08.tar.bz2 mpv-1ea1359a822e6eb23137d93c6261d96a3d257f08.tar.xz |
win32: suppress pointer cast warning
Diffstat (limited to 'video/out/w32_common.c')
-rw-r--r-- | video/out/w32_common.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/video/out/w32_common.c b/video/out/w32_common.c index c85e4d55d6..9764bdebfb 100644 --- a/video/out/w32_common.c +++ b/video/out/w32_common.c @@ -1967,7 +1967,7 @@ static int gui_thread_control(struct vo_w32_state *w32, int request, void *arg) case VOCTRL_GET_WINDOW_ID: { if (!w32->window) return VO_NOTAVAIL; - *(int64_t *)arg = (int64_t)w32->window; + *(int64_t *)arg = (intptr_t)w32->window; return VO_TRUE; } case VOCTRL_GET_HIDPI_SCALE: { |