Index: /trunk/src/VBox/Main/darwin/OpenGLTestDarwin.cpp
===================================================================
--- /trunk/src/VBox/Main/darwin/OpenGLTestDarwin.cpp	(revision 20160)
+++ /trunk/src/VBox/Main/darwin/OpenGLTestDarwin.cpp	(revision 20161)
@@ -21,5 +21,5 @@
     CGOpenGLDisplayMask cglDisplayMask = CGDisplayIDToOpenGLDisplayMask (display);
     CGLPixelFormatObj   pixelFormat = NULL;
-    long numPixelFormats = 0;
+    GLint numPixelFormats = 0;
 
     CGLPixelFormatAttribute attribs[] = {
