Fixed compiler warning

This commit is contained in:
Sam Lantinga 2011-02-21 20:35:44 -08:00
parent 24864a72cc
commit f3564c3a8e

View File

@ -792,7 +792,7 @@ Cocoa_SetWindowFullscreen(_THIS, SDL_Window * window, SDL_VideoDisplay * display
[nswindow setContentSize:rect.size];
} else {
if ([nswindow respondsToSelector: @selector(setStyleMask:)]) {
[nswindow performSelector: @selector(setStyleMask:) withObject: (id)GetWindowStyle(window)];
[nswindow performSelector: @selector(setStyleMask:) withObject: (id)(uintptr_t)GetWindowStyle(window)];
}
// This doesn't seem to do anything...