# HG changeset patch # User Sam Lantinga # Date 1211806570 0 # Node ID 18a472b6d7451192ea93b9721bdcd2b99484f288 # Parent 11eb9ae3c88c3f7c98f0eeedf5756804eb24c4c7 Fixed compiler warning diff -r 11eb9ae3c88c -r 18a472b6d745 src/video/cocoa/SDL_cocoaopengl.m --- a/src/video/cocoa/SDL_cocoaopengl.m Mon May 26 12:43:37 2008 +0000 +++ b/src/video/cocoa/SDL_cocoaopengl.m Mon May 26 12:56:10 2008 +0000 @@ -288,7 +288,7 @@ { NSAutoreleasePool *pool; NSOpenGLContext *nscontext; - long value; + GLint value; int status; pool = [[NSAutoreleasePool alloc] init]; @@ -312,7 +312,7 @@ { NSAutoreleasePool *pool; NSOpenGLContext *nscontext; - long value; + GLint value; int status; pool = [[NSAutoreleasePool alloc] init];