X-Git-Url: http://de.git.xonotic.org/?a=blobdiff_plain;ds=sidebyside;f=radiant%2Fserver.cpp;h=1904867b949c0eeec93aacf717a4853d975f022a;hb=590aae45b15b5dd5f4b5bcb94c24af32a9f090a9;hp=500cc58e72682aecf8b733d708529bbf6f1072e9;hpb=7fc621fc78d0e040dc2c12f38dc53dd9048215dc;p=xonotic%2Fnetradiant.git 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();