summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/dynamic.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dynamic.cpp b/src/dynamic.cpp
index ebb1ee71c..d38405d48 100644
--- a/src/dynamic.cpp
+++ b/src/dynamic.cpp
@@ -108,7 +108,7 @@ DLLManager::DLLManager(const char *fname)
if (!h)
{
log(DEBUG,"dlerror occured!");
- err = dlerror();
+ err = (char*)dlerror();
return;
}
@@ -166,7 +166,7 @@ bool DLLManager::GetSymbol(void** v, const char* sym_name)
log(DEBUG,"Found symbol %s", sym_name);
dlerror(); // clear value
*v = dlsym(h, sym_name);
- err = dlerror();
+ err = (char*)dlerror();
if (!*v || err)
return false;
}