From 5d3068dc47944587b1fd15a966dc0c8486950a26 Mon Sep 17 00:00:00 2001 From: brain Date: Fri, 20 May 2005 22:40:33 +0000 Subject: Fixed crappy const stuff git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1469 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/dynamic.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') 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 } } -- cgit v1.2.3