From 74c0185a3984195e8c49e8f042e1a2b2c0b46316 Mon Sep 17 00:00:00 2001 From: mccallum Date: Thu, 22 Feb 1996 21:21:30 +0000 Subject: [PATCH] (__objc_dynamic_find_symbol): Cast to drop const type, and avoid warning. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@982 72102866-910b-0410-8b05-ffd578937521 --- Source/simple-load.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/simple-load.h b/Source/simple-load.h index df6bd73c5..af08ddabc 100644 --- a/Source/simple-load.h +++ b/Source/simple-load.h @@ -50,7 +50,7 @@ __objc_dynamic_link(const char* module, int mode, const char* debug_file) static dl_symbol_t __objc_dynamic_find_symbol(dl_handle_t handle, const char* symbol) { - return dlsym(handle, symbol); + return dlsym(handle, (char*)symbol); } /* remove the code from memory associated with the module 'handle' */