From: Rudolf Polzer Date: Mon, 14 Jan 2013 11:03:08 +0000 (+0100) Subject: more pointers X-Git-Tag: xonotic-v0.7.0~7 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=590aae45b15b5dd5f4b5bcb94c24af32a9f090a9;p=xonotic%2Fnetradiant.git more pointers --- diff --git a/radiant/server.cpp b/radiant/server.cpp index 500cc58e..1904867b 100644 --- a/radiant/server.cpp +++ b/radiant/server.cpp @@ -131,7 +131,7 @@ bool failed(){ return m_library == 0; } FunctionPointer findSymbol( const char* symbol ){ - FunctionPointer address = GetProcAddress( m_library, symbol ); + FunctionPointer address = (FunctionPointer) GetProcAddress( m_library, symbol ); if ( address == 0 ) { globalErrorStream() << "GetProcAddress failed: '" << symbol << "'\n"; globalErrorStream() << "GetLastError: " << FormatGetLastError();