Add cast for compiler
authorAndrew Bartlett <abartlet@samba.org>
Mon, 28 Apr 2003 14:23:44 +0000 (14:23 +0000)
committerAndrew Bartlett <abartlet@samba.org>
Mon, 28 Apr 2003 14:23:44 +0000 (14:23 +0000)
(This used to be commit 456eb5d05a442ee380cfa756be54619b1d68fa48)

source3/auth/auth_winbind.c

index df08b6440ac4226c85cddae164958f6d61794560..840898415be01cc95edaeb115d6db89f62168d45 100644 (file)
@@ -139,7 +139,7 @@ NTSTATUS auth_init_winbind(struct auth_context *auth_context, const char *param,
        if (param && *param) {
                /* we load the 'fallback' module - if winbind isn't here, call this
                   module */
-               if (!load_auth_module(auth_context, param, &(*auth_method)->private_data)) {
+               if (!load_auth_module(auth_context, param, (auth_methods **)&(*auth_method)->private_data)) {
                        return NT_STATUS_UNSUCCESSFUL;
                }