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

@ -173,7 +173,7 @@ QGLFunctionPointer QGL_getExtensionFunc( const char* symbol ){
} }
#elif defined( WIN32 ) #elif defined( WIN32 )
ASSERT_NOTNULL( qwglGetProcAddress ); ASSERT_NOTNULL( qwglGetProcAddress );
return qwglGetProcAddress( symbol ); return (QGLFunctionPointer) qwglGetProcAddress( symbol );
#else #else
#error "unsupported platform" #error "unsupported platform"
#endif #endif