Commit 4409fa47 authored by Sam Lantinga's avatar Sam Lantinga

Fixed compiler warning

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402760
parent 1725937a
...@@ -288,7 +288,7 @@ Cocoa_GL_SetSwapInterval(_THIS, int interval) ...@@ -288,7 +288,7 @@ Cocoa_GL_SetSwapInterval(_THIS, int interval)
{ {
NSAutoreleasePool *pool; NSAutoreleasePool *pool;
NSOpenGLContext *nscontext; NSOpenGLContext *nscontext;
long value; GLint value;
int status; int status;
pool = [[NSAutoreleasePool alloc] init]; pool = [[NSAutoreleasePool alloc] init];
...@@ -312,7 +312,7 @@ Cocoa_GL_GetSwapInterval(_THIS) ...@@ -312,7 +312,7 @@ Cocoa_GL_GetSwapInterval(_THIS)
{ {
NSAutoreleasePool *pool; NSAutoreleasePool *pool;
NSOpenGLContext *nscontext; NSOpenGLContext *nscontext;
long value; GLint value;
int status; int status;
pool = [[NSAutoreleasePool alloc] init]; pool = [[NSAutoreleasePool alloc] init];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment