summaryrefslogtreecommitdiff
path: root/source4/auth
diff options
context:
space:
mode:
Diffstat (limited to 'source4/auth')
-rw-r--r--source4/auth/auth_builtin.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/auth/auth_builtin.c b/source4/auth/auth_builtin.c
index 32f39311dc..61270fca10 100644
--- a/source4/auth/auth_builtin.c
+++ b/source4/auth/auth_builtin.c
@@ -198,7 +198,7 @@ NTSTATUS auth_init_plugin(struct auth_context *auth_context, const char *param,
return NT_STATUS_UNSUCCESSFUL;
}
- plugin_init = sys_dlsym(dl_handle, "auth_init");
+ plugin_init = (auth_init_function)sys_dlsym(dl_handle, "auth_init");
if (!plugin_init){
DEBUG(0, ("Failed to find function 'auth_init' using sys_dlsym in sam plugin %s (%s)\n",
plugin_name, sys_dlerror()));