cast to get rid of warnings
authorHerb Lewis <herb@samba.org>
Fri, 15 Aug 2003 17:29:04 +0000 (17:29 +0000)
committerHerb Lewis <herb@samba.org>
Fri, 15 Aug 2003 17:29:04 +0000 (17:29 +0000)
(This used to be commit cb7a9aef0210b547a64a9411769c8b3cce57701e)

source4/auth/auth_builtin.c

index 32f39311dc89273552b673bc742a03221db00d09..61270fca1017a3556c47579bd22cc12ed225600a 100644 (file)
@@ -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()));