Fixed compiler warning

This commit is contained in:
Sam Lantinga 2008-05-26 12:56:10 +00:00
parent 1a2cd9be5c
commit 9816457898

View File

@ -288,7 +288,7 @@ Cocoa_GL_SetSwapInterval(_THIS, int interval)
{
NSAutoreleasePool *pool;
NSOpenGLContext *nscontext;
long value;
GLint value;
int status;
pool = [[NSAutoreleasePool alloc] init];
@ -312,7 +312,7 @@ Cocoa_GL_GetSwapInterval(_THIS)
{
NSAutoreleasePool *pool;
NSOpenGLContext *nscontext;
long value;
GLint value;
int status;
pool = [[NSAutoreleasePool alloc] init];