changeset 2703:18a472b6d745

Fixed compiler warning
author Sam Lantinga <slouken@libsdl.org>
date Mon, 26 May 2008 12:56:10 +0000
parents 11eb9ae3c88c
children e708fe246d03
files src/video/cocoa/SDL_cocoaopengl.m
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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];