src/video/cocoa/SDL_cocoawindow.m
changeset 5378 738a96883fa6
parent 5376 183ec2d4485c
child 5379 78c071fe4c37
--- 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...