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