]> git.rm.cloudns.org Git - xonotic/netradiant.git/commitdiff
more pointers
authorRudolf Polzer <divverent@xonotic.org>
Mon, 14 Jan 2013 11:03:08 +0000 (12:03 +0100)
committerRudolf Polzer <divverent@xonotic.org>
Mon, 14 Jan 2013 11:03:08 +0000 (12:03 +0100)
radiant/server.cpp

index 500cc58e72682aecf8b733d708529bbf6f1072e9..1904867b949c0eeec93aacf717a4853d975f022a 100644 (file)
@@ -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();