From f8a3e72a30728ba185dc1ac8b398de1aeae7b1b6 Mon Sep 17 00:00:00 2001 From: William Ahern Date: Fri, 27 Dec 2013 06:33:56 -0800 Subject: silence warnings with Solaris Studio compiler --- src/openssl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/openssl.c') diff --git a/src/openssl.c b/src/openssl.c index 5fcf76d..432c683 100644 --- a/src/openssl.c +++ b/src/openssl.c @@ -4167,7 +4167,7 @@ static int mt_init(void) { if (bound && !mt_state.dlref) { Dl_info info; - if (!dladdr(&luaopen__openssl_rand, &info)) { + if (!dladdr((void *)&luaopen__openssl_rand, &info)) { error = -1; goto leave; } -- cgit v1.2.3-59-g8ed1b