summaryrefslogtreecommitdiff
path: root/source4/auth
diff options
context:
space:
mode:
authorHerb Lewis <herb@samba.org>2003-08-15 17:29:04 +0000
committerHerb Lewis <herb@samba.org>2003-08-15 17:29:04 +0000
commit00743e97f8a3ea1260f38d7ed0dd10bd4baf0e3f (patch)
tree38857fd533280d6f24211c81cba2d1d3fbb80cce /source4/auth
parentdcc8fcf9c08998bdea8bcc5a8d42f22c504beb30 (diff)
downloadsamba-00743e97f8a3ea1260f38d7ed0dd10bd4baf0e3f.tar.gz
samba-00743e97f8a3ea1260f38d7ed0dd10bd4baf0e3f.tar.bz2
samba-00743e97f8a3ea1260f38d7ed0dd10bd4baf0e3f.zip
cast to get rid of warnings
(This used to be commit cb7a9aef0210b547a64a9411769c8b3cce57701e)
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()));