From 859a10e5c878889a38cac5fe99bf413f667ea392 Mon Sep 17 00:00:00 2001 From: "Ben \"root\" Anderson" Date: Fri, 25 Oct 2013 15:13:47 -0500 Subject: [PATCH] GCC needs these casts to be explicit --- src/arch/LowLevelWindow/LowLevelWindow_Win32.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/arch/LowLevelWindow/LowLevelWindow_Win32.cpp b/src/arch/LowLevelWindow/LowLevelWindow_Win32.cpp index 5121291bd8..1f6b108bea 100644 --- a/src/arch/LowLevelWindow/LowLevelWindow_Win32.cpp +++ b/src/arch/LowLevelWindow/LowLevelWindow_Win32.cpp @@ -38,11 +38,11 @@ static void DestroyGraphicsWindowAndOpenGLContext() void *LowLevelWindow_Win32::GetProcAddress( RString s ) { - void *pRet = wglGetProcAddress( s ); + void *pRet = (void*) wglGetProcAddress( s ); if( pRet != NULL ) return pRet; - return ::GetProcAddress( GetModuleHandle(NULL), s ); + return (void*) ::GetProcAddress( GetModuleHandle(NULL), s ); } LowLevelWindow_Win32::LowLevelWindow_Win32()