(svn r5900) -Fix [FS#84]: Warning silencing fix for OpenTTD on Windows x64 (michi_cc)
authorDarkvater
Mon, 14 Aug 2006 23:27:06 +0000
changeset 4272 a795a5ef2005
parent 4271 1a86f0faa2cb
child 4273 6467c2c54d58
(svn r5900) -Fix [FS#84]: Warning silencing fix for OpenTTD on Windows x64 (michi_cc)
viewport.c
--- a/viewport.c	Mon Aug 14 23:11:59 2006 +0000
+++ b/viewport.c	Mon Aug 14 23:27:06 2006 +0000
@@ -2227,7 +2227,7 @@
 		VpStartPreSizing();
 
 	if ( (int)icon < 0)
-		SetAnimatedMouseCursor(_animcursors[~icon]);
+		SetAnimatedMouseCursor(_animcursors[~((int)icon)]);
 	else
 		SetMouseCursor(icon);
 }