mirror of https://github.com/mpv-player/mpv
Avoid some pointer conversion warnings (the code is messy but not wrong)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25815 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
b34d4097bb
commit
2b316697f3
|
@ -360,7 +360,7 @@ int vo_w32_init(void) {
|
|||
}
|
||||
|
||||
if (WinID >= 0)
|
||||
vo_window = WinID;
|
||||
vo_window = (HWND)WinID;
|
||||
else {
|
||||
vo_window = CreateWindowEx(0, classname, classname,
|
||||
vo_border ? (WS_OVERLAPPEDWINDOW | WS_SIZEBOX) : WS_POPUP,
|
||||
|
@ -376,7 +376,7 @@ int vo_w32_init(void) {
|
|||
myEnumDisplayMonitors = NULL;
|
||||
user32 = GetModuleHandle("user32.dll");
|
||||
if (user32) {
|
||||
myMonitorFromWindow = GetProcAddress(user32, "MonitorFromWindow");
|
||||
myMonitorFromWindow = (void *)GetProcAddress(user32, "MonitorFromWindow");
|
||||
myGetMonitorInfo = GetProcAddress(user32, "GetMonitorInfoA");
|
||||
myEnumDisplayMonitors = GetProcAddress(user32, "EnumDisplayMonitors");
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue