src/video/cocoa/SDL_cocoawindow.m
changeset 5378 738a96883fa6
parent 5376 183ec2d4485c
child 5379 78c071fe4c37
     1.1 --- a/src/video/cocoa/SDL_cocoawindow.m	Mon Feb 21 20:34:22 2011 -0800
     1.2 +++ b/src/video/cocoa/SDL_cocoawindow.m	Mon Feb 21 20:35:44 2011 -0800
     1.3 @@ -792,7 +792,7 @@
     1.4          [nswindow setContentSize:rect.size];
     1.5      } else {
     1.6          if ([nswindow respondsToSelector: @selector(setStyleMask:)]) {
     1.7 -            [nswindow performSelector: @selector(setStyleMask:) withObject: (id)GetWindowStyle(window)];
     1.8 +            [nswindow performSelector: @selector(setStyleMask:) withObject: (id)(uintptr_t)GetWindowStyle(window)];
     1.9          }
    1.10  
    1.11          // This doesn't seem to do anything...