From 939e334ce29e74b47639db32667e1dcb7400310e Mon Sep 17 00:00:00 2001 From: Darkvater Date: Mon, 14 Aug 2006 23:27:06 +0000 Subject: [PATCH] (svn r5900) -Fix [FS#84]: Warning silencing fix for OpenTTD on Windows x64 (michi_cc) --- viewport.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/viewport.c b/viewport.c index ed22304ce0..8a8fdfcb64 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); }