more pointers

This commit is contained in:
Rudolf Polzer 2013-01-14 12:03:08 +01:00
parent 80d17ccf4d
commit 590aae45b1

View 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();