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 | 939e334ce29e74b47639db32667e1dcb7400310e (patch) | |
tree | 4a3fcde5fcc9ffcad7d06c36c13bc7288045db91 | |
parent | ba2a796403910b96fcb6645b2d828b61a57045f9 (diff) | |
download | openttd-939e334ce29e74b47639db32667e1dcb7400310e.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); } |