diff options
Diffstat (limited to 'src/dynamic.cpp')
-rw-r--r-- | src/dynamic.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dynamic.cpp b/src/dynamic.cpp index 511651941..704c4d9dd 100644 --- a/src/dynamic.cpp +++ b/src/dynamic.cpp @@ -32,7 +32,7 @@ DLLManager::DLLManager(InspIRCd*, const char *fname) h = dlopen(fname, RTLD_NOW|RTLD_LOCAL); if (!h) { - err = (char*)dlerror(); + err = dlerror(); return; } } @@ -57,7 +57,7 @@ bool DLLManager::GetSymbol(void** v, const char* sym_name) { dlerror(); // clear value *v = dlsym(h, sym_name); - err = (char*)dlerror(); + err = dlerror(); if (!*v || err) return false; } |