git.samba.org
/
mdw
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
530d1e3
)
s4:auth/ntlm/auth.c - fix incompatible pointer type warning
author
Matthias Dieter Wallnöfer
<mdw@samba.org>
Wed, 8 Jun 2011 07:36:59 +0000
(09:36 +0200)
committer
Matthias Dieter Wallnöfer
<mdw@samba.org>
Thu, 9 Jun 2011 07:35:32 +0000
(09:35 +0200)
Reviewed-by: Tridge
source4/auth/ntlm/auth.c
patch
|
blob
|
history
diff --git
a/source4/auth/ntlm/auth.c
b/source4/auth/ntlm/auth.c
index 2308b1594d4df8ddd9912762a210b1fb79398571..d2464c3cbf6dd4a2dbeb05cd7e0bd000702da0c4 100644
(file)
--- 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)
{
- c
onst c
har **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;
}
/***************************************************************************