Fixed compile error on some versions of Mac OS X.
authorSam Lantinga <slouken@libsdl.org>
Wed, 23 Feb 2011 15:06:14 -0800
changeset 5391 06b239f48b91
parent 5390 fefd4f7b5214
child 5393 17da19f8ca05
Fixed compile error on some versions of Mac OS X.
src/video/cocoa/SDL_cocoamouse.m
--- a/src/video/cocoa/SDL_cocoamouse.m	Tue Feb 22 22:17:44 2011 -0800
+++ b/src/video/cocoa/SDL_cocoamouse.m	Wed Feb 23 15:06:14 2011 -0800
@@ -111,8 +111,8 @@
 {
     CGPoint point;
 
-    point.x = (CGFloat)window->x + x;
-    point.y = (CGFloat)window->y + y;
+    point.x = (float)window->x + x;
+    point.y = (float)window->y + y;
     CGWarpMouseCursorPosition(point);
 }