From: Rudolf Polzer Date: Mon, 14 Jan 2013 10:59:24 +0000 (+0100) Subject: add a missing cast X-Git-Tag: xonotic-v0.7.0~8 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=80d17ccf4dcf1d030fd5e644f9797e15dd6306d2;p=xonotic%2Fnetradiant.git add a missing cast --- diff --git a/radiant/qgl.cpp b/radiant/qgl.cpp index aebe1434..2e44768c 100644 --- a/radiant/qgl.cpp +++ b/radiant/qgl.cpp @@ -169,11 +169,11 @@ QGLFunctionPointer QGL_getExtensionFunc( const char* symbol ){ } else { - return (QGLFunctionPointer)qglXGetProcAddressARB( reinterpret_cast( symbol ) ); + return (QGLFunctionPointer) qglXGetProcAddressARB( reinterpret_cast( symbol ) ); } #elif defined( WIN32 ) ASSERT_NOTNULL( qwglGetProcAddress ); - return qwglGetProcAddress( symbol ); + return (QGLFunctionPointer) qwglGetProcAddress( symbol ); #else #error "unsupported platform" #endif