mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-23 00:41:02 +00:00
(__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:
parent
91ce5762db
commit
060410dfd6
1 changed files with 1 additions and 1 deletions
|
@ -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' */
|
||||
|
|
Loading…
Reference in a new issue