From 80d17ccf4dcf1d030fd5e644f9797e15dd6306d2 Mon Sep 17 00:00:00 2001 From: Rudolf Polzer Date: Mon, 14 Jan 2013 11:59:24 +0100 Subject: [PATCH] add a missing cast --- radiant/qgl.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.39.2