Fixed compiler warning
authorSam Lantinga <slouken@libsdl.org>
Mon, 21 Feb 2011 20:35:44 -0800
changeset 5378 738a96883fa6
parent 5377 6125f6da3dae
child 5379 78c071fe4c37
Fixed compiler warning
src/video/cocoa/SDL_cocoawindow.m
--- a/src/video/cocoa/SDL_cocoawindow.m	Mon Feb 21 20:34:22 2011 -0800
+++ b/src/video/cocoa/SDL_cocoawindow.m	Mon Feb 21 20:35:44 2011 -0800
@@ -792,7 +792,7 @@
         [nswindow setContentSize:rect.size];
     } else {
         if ([nswindow respondsToSelector: @selector(setStyleMask:)]) {
-            [nswindow performSelector: @selector(setStyleMask:) withObject: (id)GetWindowStyle(window)];
+            [nswindow performSelector: @selector(setStyleMask:) withObject: (id)(uintptr_t)GetWindowStyle(window)];
         }
 
         // This doesn't seem to do anything...