Fix a gcc-8 warning -Wcast-function-type
authorBernd Edlinger <bernd.edlinger@hotmail.de>
Thu, 19 Apr 2018 20:20:29 +0000 (22:20 +0200)
committerBernd Edlinger <bernd.edlinger@hotmail.de>
Fri, 20 Apr 2018 13:54:22 +0000 (15:54 +0200)
commit867dc5441aab7c813136e996d5d437740e6a3c18
treee0c19c7022138d66d069305db98a2a7b3931302a
parentb5da3cadbdaecdbdf45120fd5d75e72068edb652
Fix a gcc-8 warning -Wcast-function-type

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

Backport of #5816

Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/6027)
test/shlibloadtest.c