mirror of https://github.com/mpv-player/mpv
win32: suppress pointer cast warning
This commit is contained in:
parent
f0b2854e93
commit
1ea1359a82
|
@ -1967,7 +1967,7 @@ static int gui_thread_control(struct vo_w32_state *w32, int request, void *arg)
|
||||||
case VOCTRL_GET_WINDOW_ID: {
|
case VOCTRL_GET_WINDOW_ID: {
|
||||||
if (!w32->window)
|
if (!w32->window)
|
||||||
return VO_NOTAVAIL;
|
return VO_NOTAVAIL;
|
||||||
*(int64_t *)arg = (int64_t)w32->window;
|
*(int64_t *)arg = (intptr_t)w32->window;
|
||||||
return VO_TRUE;
|
return VO_TRUE;
|
||||||
}
|
}
|
||||||
case VOCTRL_GET_HIDPI_SCALE: {
|
case VOCTRL_GET_HIDPI_SCALE: {
|
||||||
|
|
Loading…
Reference in New Issue