Eliminate 'ISO C forbids object to function pointer conversion' warning
authorIvan Maidanski <ivmai@mail.ru>
Thu, 16 Mar 2017 07:22:29 +0000 (10:22 +0300)
committerIvan Maidanski <ivmai@mail.ru>
Thu, 16 Mar 2017 07:29:37 +0000 (10:29 +0300)
commitca7f946d4b5b35c630c5fe6b279edd5be9218a8f
tree457fc6819975e9c8231c523395139c96d9fac52e
parent6ff56b1ab263f673379313ef74e7b9849874f951
Eliminate 'ISO C forbids object to function pointer conversion' warning

* dyn_load.c [SOLARISDL && !USE_PROC_FOR_LIBRARIES
&& SUNOS53_SHARED_LIB] (GC_FirstDLOpenedLinkMap): Cast result of dlsym()
to word type before casting it to a function pointer.
* pthread_support.c [GC_USE_DLOPEN_WRAP] (GC_init_real_syms): Likewise.
dyn_load.c
pthread_support.c