win32: suppress pointer cast warning

This commit is contained in:
Kacper Michajłow 2023-10-14 16:06:42 +02:00 committed by Dudemanguy
parent f0b2854e93
commit 1ea1359a82
1 changed files with 1 additions and 1 deletions

View File

@ -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: {