diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-08-07 20:57:13 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-08-07 20:57:13 +0000 |
commit | 923586e54c005780edcc5c427bb4698caf16bcf0 (patch) | |
tree | 4363817bfb89ddc7cd7ef76bfae578fde0bc9436 | |
parent | 233402b05c036aeb396af6ee27bf43f7405adb97 (diff) |
Put casts back :(
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4773 e03df62e-2008-0410-955e-edbf42e46eb7
-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 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; } |