Fixed warning with Xcode 7.3.0

This commit is contained in:
Sam Lantinga 2016-09-16 22:27:58 -07:00
parent 976586611c
commit 35c3349008

View File

@ -1158,7 +1158,7 @@ SetupWindowData(_THIS, SDL_Window * window, NSWindow *nswindow, SDL_bool created
}
{
unsigned int style = [nswindow styleMask];
unsigned long style = [nswindow styleMask];
if (style == NSBorderlessWindowMask) {
window->flags |= SDL_WINDOW_BORDERLESS;