Fixed compiler warning
authorSam Lantinga <slouken@libsdl.org>
Mon, 21 Feb 2011 20:35:44 -0800
changeset 5378738a96883fa6
parent 5377 6125f6da3dae
child 5379 78c071fe4c37
Fixed compiler warning
src/video/cocoa/SDL_cocoawindow.m
     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...