Fixed compiler warning
authorSam Lantinga <slouken@libsdl.org>
Mon, 26 May 2008 12:56:10 +0000
changeset 2703 18a472b6d745
parent 2702 11eb9ae3c88c
child 2704 e708fe246d03
Fixed compiler warning
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];