mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-31 16:50:58 +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
ff0ce16668
commit
74c0185a39
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
|
static dl_symbol_t
|
||||||
__objc_dynamic_find_symbol(dl_handle_t handle, const char* symbol)
|
__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' */
|
/* remove the code from memory associated with the module 'handle' */
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue