summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-05-20 22:40:33 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-05-20 22:40:33 +0000
commit5d3068dc47944587b1fd15a966dc0c8486950a26 (patch)
tree3bcec74792722d3ea865c400513bda242af04058
parent2cbaa284bf7f8579c16c06245726b4c208591b24 (diff)
Fixed crappy const stuff
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1469 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r--src/dynamic.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dynamic.cpp b/src/dynamic.cpp
index c26df56b2..9366c3842 100644
--- a/src/dynamic.cpp
+++ b/src/dynamic.cpp
@@ -117,9 +117,9 @@ DLLFactoryBase::DLLFactoryBase(char *fname, char *factory) : DLLManager(fname)
if(LastError() == 0)
{
#ifdef STATIC_LINK
- GetSymbol( factory_func, factory ? factory : "init_module" );
+ GetSymbol( factory_func, factory ? factory : (char*)"init_module" );
#else
- GetSymbol( (void **)&factory_func, factory ? factory : "init_module" );
+ GetSymbol( (void **)&factory_func, factory ? factory : (char*)"init_module" );
#endif
}
}