summaryrefslogtreecommitdiff
path: root/dln.c
diff options
context:
space:
mode:
Diffstat (limited to 'dln.c')
-rw-r--r--dln.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dln.c b/dln.c
index b41603c55d..d041ac4fe7 100644
--- a/dln.c
+++ b/dln.c
@@ -1348,7 +1348,7 @@ dln_load(file)
if (init_fct == NULL) {
aix_loaderror(file);
}
- if (loadbind(0, main_module, init_fct) == -1) {
+ if (loadbind(0, main_module, (void*)init_fct) == -1) {
aix_loaderror(file);
}
(*init_fct)();