Fixed compiler warnings on 64-bit Mac OS X.
authorRyan C. Gordon <icculus@icculus.org>
Wed, 30 Dec 2009 14:48:02 -0500
changeset 807 138d76f766d1
parent 806 facbf9d3f1ce
child 808 b7196cc07283
Fixed compiler warnings on 64-bit Mac OS X.
mojoshader_opengl.c
--- a/mojoshader_opengl.c	Wed Dec 30 14:42:27 2009 -0500
+++ b/mojoshader_opengl.c	Wed Dec 30 14:48:02 2009 -0500
@@ -230,7 +230,7 @@
 
     if (!checked)
     {
-        long ver, major, minor, patch;
+        SInt32 ver, major, minor, patch;
         int convert = 0;
 
         if (Gestalt(gestaltSystemVersion, &ver) != noErr)