diff options
author | glx <glx@openttd.org> | 2006-05-09 17:24:08 +0000 |
---|---|---|
committer | glx <glx@openttd.org> | 2006-05-09 17:24:08 +0000 |
commit | 434fb4e08c9e2edf973669a55b86e9520dec6952 (patch) | |
tree | b73a2f33f4b3c5a73ec782e44725389b0193dc8f | |
parent | b8b3c6081c12bdf90128acbe4f6ca4e6c985652f (diff) | |
download | openttd-434fb4e08c9e2edf973669a55b86e9520dec6952.tar.xz |
(svn r4810) - Fix: removed warning about strict-alias (release build)
-rw-r--r-- | video/win32_v.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/video/win32_v.c b/video/win32_v.c index 21b9d1e72..82d21c43b 100644 --- a/video/win32_v.c +++ b/video/win32_v.c @@ -202,7 +202,7 @@ static void CALLBACK TrackMouseTimerProc(HWND hwnd, UINT msg, UINT event, DWORD * Compare this with the current screen coordinates of the mouse and if it * falls outside of the area or our window we have left the window. */ GetClientRect(hwnd, &rc); - MapWindowPoints(hwnd, HWND_DESKTOP, (LPPOINT)&rc, 2); + MapWindowPoints(hwnd, HWND_DESKTOP, (LPPOINT)(LPRECT)&rc, 2); GetCursorPos(&pt); if (!PtInRect(&rc, pt) || (WindowFromPoint(pt) != hwnd)) { |