summaryrefslogtreecommitdiff
path: root/viewport.c
diff options
context:
space:
mode:
authorDarkvater <darkvater@openttd.org>2006-08-14 23:27:06 +0000
committerDarkvater <darkvater@openttd.org>2006-08-14 23:27:06 +0000
commit939e334ce29e74b47639db32667e1dcb7400310e (patch)
tree4a3fcde5fcc9ffcad7d06c36c13bc7288045db91 /viewport.c
parentba2a796403910b96fcb6645b2d828b61a57045f9 (diff)
downloadopenttd-939e334ce29e74b47639db32667e1dcb7400310e.tar.xz
(svn r5900) -Fix [FS#84]: Warning silencing fix for OpenTTD on Windows x64 (michi_cc)
Diffstat (limited to 'viewport.c')
-rw-r--r--viewport.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/viewport.c b/viewport.c
index ed22304ce..8a8fdfcb6 100644
--- a/viewport.c
+++ b/viewport.c
@@ -2227,7 +2227,7 @@ void SetObjectToPlace(CursorID icon, byte mode, WindowClass window_class, Window
VpStartPreSizing();
if ( (int)icon < 0)
- SetAnimatedMouseCursor(_animcursors[~icon]);
+ SetAnimatedMouseCursor(_animcursors[~((int)icon)]);
else
SetMouseCursor(icon);
}