From 0b3e651e0567e5e628419ed57217b8c30cef20c5 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Tue, 10 May 2005 10:59:06 +0000 Subject: r6704: fix compiler warning metze (This used to be commit 9d86314c44ae8e1ec21653b21cc267bfac573445) --- source4/auth/gensec/gensec_gsskrb5.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4/auth/gensec') diff --git a/source4/auth/gensec/gensec_gsskrb5.c b/source4/auth/gensec/gensec_gsskrb5.c index 8fe1e0d224..89f7f9e36a 100644 --- a/source4/auth/gensec/gensec_gsskrb5.c +++ b/source4/auth/gensec/gensec_gsskrb5.c @@ -464,7 +464,7 @@ static NTSTATUS gensec_gsskrb5_sign_packet(struct gensec_security *gensec_securi ssize_t sig_length = 0; input_token.length = length; - input_token.value = data; + input_token.value = discard_const_p(uint8_t *, data); maj_stat = gss_wrap(&min_stat, gensec_gsskrb5_state->gssapi_context, -- cgit