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 aebe1434ff1c76467b488044efad37b4cdc94723..2e44768c97973ef9b30f295dafe9b49986d5fc4e 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