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:
reimar 2008-01-20 09:50:50 +00:00
parent b34d4097bb
commit 2b316697f3
1 changed files with 2 additions and 2 deletions

View File

@ -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");
}