diff options
author | Darkvater <Darkvater@openttd.org> | 2006-08-14 23:27:06 +0000 |
---|---|---|
committer | Darkvater <Darkvater@openttd.org> | 2006-08-14 23:27:06 +0000 |
commit | 0b3ed55905858bd4a17ff141f13a1185fe6e6707 (patch) | |
tree | 4a3fcde5fcc9ffcad7d06c36c13bc7288045db91 | |
parent | 8152d0a223d4021bcdd5aeceaf192856cae56df3 (diff) | |
download | openttd-0b3ed55905858bd4a17ff141f13a1185fe6e6707.tar.xz |
(svn r5900) -Fix [FS#84]: Warning silencing fix for OpenTTD on Windows x64 (michi_cc)
-rw-r--r-- | viewport.c | 2 |
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); } |