add a missing cast
authorRudolf Polzer <divverent@xonotic.org>
Mon, 14 Jan 2013 10:59:24 +0000 (11:59 +0100)
committerRudolf Polzer <divverent@xonotic.org>
Mon, 14 Jan 2013 10:59:24 +0000 (11:59 +0100)
radiant/qgl.cpp

index aebe143..2e44768 100644 (file)
@@ -169,11 +169,11 @@ QGLFunctionPointer QGL_getExtensionFunc( const char* symbol ){
        }
        else
        {
-               return (QGLFunctionPointer)qglXGetProcAddressARB( reinterpret_cast<const GLubyte*>( symbol ) );
+               return (QGLFunctionPointer) qglXGetProcAddressARB( reinterpret_cast<const GLubyte*>( symbol ) );
        }
 #elif defined( WIN32 )
        ASSERT_NOTNULL( qwglGetProcAddress );
-       return qwglGetProcAddress( symbol );
+       return (QGLFunctionPointer) qwglGetProcAddress( symbol );
 #else
 #error "unsupported platform"
 #endif