summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorMatthias Dieter Wallnöfer <mdw@samba.org>2011-06-08 09:36:59 +0200
committerMatthias Dieter Wallnöfer <mdw@samba.org>2011-06-09 09:35:32 +0200
commit27f1779814accd82a5ec1330f8856192a69271f8 (patch)
treec827d2e0920045bacf6283551dab15b0077acab6 /source4
parent530d1e33f7ea565e5668ebe609f049fa6a69871b (diff)
downloadsamba-27f1779814accd82a5ec1330f8856192a69271f8.tar.gz
samba-27f1779814accd82a5ec1330f8856192a69271f8.tar.bz2
samba-27f1779814accd82a5ec1330f8856192a69271f8.zip
s4:auth/ntlm/auth.c - fix incompatible pointer type warning
Reviewed-by: Tridge
Diffstat (limited to 'source4')
-rw-r--r--source4/auth/ntlm/auth.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/auth/ntlm/auth.c b/source4/auth/ntlm/auth.c
index 2308b1594d..d2464c3cbf 100644
--- a/source4/auth/ntlm/auth.c
+++ b/source4/auth/ntlm/auth.c
@@ -487,7 +487,7 @@ _PUBLIC_ NTSTATUS auth_context_create_methods(TALLOC_CTX *mem_ctx, const char **
const char **auth_methods_from_lp(TALLOC_CTX *mem_ctx, struct loadparm_context *lp_ctx)
{
- const char **auth_methods = NULL;
+ char **auth_methods = NULL;
switch (lpcfg_server_role(lp_ctx)) {
case ROLE_STANDALONE:
@@ -501,7 +501,7 @@ const char **auth_methods_from_lp(TALLOC_CTX *mem_ctx, struct loadparm_context *
auth_methods = str_list_make(mem_ctx, "anonymous sam_ignoredomain winbind", NULL);
break;
}
- return auth_methods;
+ return (const char **) auth_methods;
}
/***************************************************************************