aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/openssl.c2
1 files changed, 1 insertions, 1 deletions
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;
}