projects
/
xonotic
/
netradiant.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
80d17cc
)
more pointers
author
Rudolf Polzer <divverent@xonotic.org>
Mon, 14 Jan 2013 11:03:08 +0000
(12:03 +0100)
committer
Rudolf Polzer <divverent@xonotic.org>
Mon, 14 Jan 2013 11:03:08 +0000
(12:03 +0100)
radiant/server.cpp
patch
|
blob
|
history
diff --git
a/radiant/server.cpp
b/radiant/server.cpp
index 500cc58e72682aecf8b733d708529bbf6f1072e9..1904867b949c0eeec93aacf717a4853d975f022a 100644
(file)
--- 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();