add a missing cast

This commit is contained in:
Rudolf Polzer 2013-01-14 11:59:24 +01:00
parent 2f573dd6b4
commit 80d17ccf4d

View 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