Fixed warning with Xcode 7.3.0
authorSam Lantinga <slouken@libsdl.org>
Fri, 16 Sep 2016 22:27:58 -0700
changeset 10353c0f4fe10d1b3
parent 10352 d11894522a9a
child 10354 1ac0e0419292
Fixed warning with Xcode 7.3.0
src/video/cocoa/SDL_cocoawindow.m
     1.1 --- a/src/video/cocoa/SDL_cocoawindow.m	Sat Sep 17 01:36:29 2016 -0300
     1.2 +++ b/src/video/cocoa/SDL_cocoawindow.m	Fri Sep 16 22:27:58 2016 -0700
     1.3 @@ -1158,7 +1158,7 @@
     1.4      }
     1.5  
     1.6      {
     1.7 -        unsigned int style = [nswindow styleMask];
     1.8 +        unsigned long style = [nswindow styleMask];
     1.9  
    1.10          if (style == NSBorderlessWindowMask) {
    1.11              window->flags |= SDL_WINDOW_BORDERLESS;