summaryrefslogtreecommitdiff
path: root/video
diff options
context:
space:
mode:
authorglx <glx@openttd.org>2006-05-09 17:24:08 +0000
committerglx <glx@openttd.org>2006-05-09 17:24:08 +0000
commit11f4f6276f02ed1a323f4f49b99982ac2c120e2c (patch)
treeb73a2f33f4b3c5a73ec782e44725389b0193dc8f /video
parent29337381a0f4e39351ce43596f2b3634716482cb (diff)
downloadopenttd-11f4f6276f02ed1a323f4f49b99982ac2c120e2c.tar.xz
(svn r4810) - Fix: removed warning about strict-alias (release build)
Diffstat (limited to 'video')
-rw-r--r--video/win32_v.c2
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)) {