Fix a gcc-8 warning -Wcast-function-type
authorBernd Edlinger <bernd.edlinger@hotmail.de>
Fri, 30 Mar 2018 17:17:39 +0000 (19:17 +0200)
committerBernd Edlinger <bernd.edlinger@hotmail.de>
Sat, 31 Mar 2018 14:58:06 +0000 (16:58 +0200)
commit26db32469f381f75e11af25ddc2d1a8e83eeba45
tree4bc7929d950d1c91a1c62fbf21690eb598bcc281
parentefe749c84050b99a8470aa58a6c464cf886cfc00
Fix a gcc-8 warning -Wcast-function-type

Casting to the generic function type "void (*)(void)"
prevents the warning.

Reviewed-by: Ben Kaduk <kaduk@mit.edu>
Reviewed-by: Kurt Roeckx <kurt@roeckx.be>
(Merged from https://github.com/openssl/openssl/pull/5816)
test/shlibloadtest.c