diff options
-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 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 } } |