From 9177a0d1c1c92c45ef92fbda55fc6dd8aeb76b6c Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Mon, 5 Aug 2013 10:46:47 +0200 Subject: libcli/auth: add more const to spnego_negTokenInit->mechTypes Signed-off-by: Stefan Metzmacher Reviewed-by: Andrew Bartlett Autobuild-User(master): Stefan Metzmacher Autobuild-Date(master): Sat Aug 10 11:11:54 CEST 2013 on sn-devel-104 --- source3/utils/ntlm_auth.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3') diff --git a/source3/utils/ntlm_auth.c b/source3/utils/ntlm_auth.c index 751f49cdc2..8d556298ca 100644 --- a/source3/utils/ntlm_auth.c +++ b/source3/utils/ntlm_auth.c @@ -2054,7 +2054,7 @@ static void manage_gss_spnego_client_request(enum stdio_helper_mode stdio_helper /* The server offers a list of mechanisms */ - const char **mechType = (const char **)spnego.negTokenInit.mechTypes; + const char *const *mechType = spnego.negTokenInit.mechTypes; while (*mechType != NULL) { -- cgit