]> de.git.xonotic.org Git - xonotic/netradiant.git/blobdiff - radiant/qgl.cpp
add a missing cast
[xonotic/netradiant.git] / radiant / qgl.cpp
index aebe1434ff1c76467b488044efad37b4cdc94723..2e44768c97973ef9b30f295dafe9b49986d5fc4e 100644 (file)
@@ -169,11 +169,11 @@ QGLFunctionPointer QGL_getExtensionFunc( const char* symbol ){
        }
        else
        {
        }
        else
        {
-               return (QGLFunctionPointer)qglXGetProcAddressARB( reinterpret_cast<const GLubyte*>( symbol ) );
+               return (QGLFunctionPointer) qglXGetProcAddressARB( reinterpret_cast<const GLubyte*>( symbol ) );
        }
 #elif defined( WIN32 )
        ASSERT_NOTNULL( qwglGetProcAddress );
        }
 #elif defined( WIN32 )
        ASSERT_NOTNULL( qwglGetProcAddress );
-       return qwglGetProcAddress( symbol );
+       return (QGLFunctionPointer) qwglGetProcAddress( symbol );
 #else
 #error "unsupported platform"
 #endif
 #else
 #error "unsupported platform"
 #endif