]> granicus.if.org Git - gc/commit
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, 6 Apr 2017 08:12:49 +0000 (11:12 +0300)
commitc69ae9c247e0792e05963a891cee89ca78f61e3b
tree0e4a59df4a1c5a7dd862b2516ddf9d9b727f844b
parent2b2956611a529e322e456d720924346cd7e1ace9
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