summaryrefslogtreecommitdiff
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
commit0b3ed55905858bd4a17ff141f13a1185fe6e6707 (patch)
tree4a3fcde5fcc9ffcad7d06c36c13bc7288045db91
parent8152d0a223d4021bcdd5aeceaf192856cae56df3 (diff)
downloadopenttd-0b3ed55905858bd4a17ff141f13a1185fe6e6707.tar.xz
(svn r5900) -Fix [FS#84]: Warning silencing fix for OpenTTD on Windows x64 (michi_cc)
-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);
}