Fixed warning with Xcode 7.3.0

This commit is contained in:
Sam Lantinga 2016-09-16 22:27:58 -07:00
parent 459102a5c0
commit 29214826ec
1 changed files with 1 additions and 1 deletions

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) { if (style == NSBorderlessWindowMask) {
window->flags |= SDL_WINDOW_BORDERLESS; window->flags |= SDL_WINDOW_BORDERLESS;