(__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
This commit is contained in:
Andrew McCallum 1996-02-22 21:21:30 +00:00
parent 91ce5762db
commit 060410dfd6

View file

@ -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' */