summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2005-05-10 10:59:06 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:16:36 -0500
commit0b3e651e0567e5e628419ed57217b8c30cef20c5 (patch)
tree752491c9710741228239a1fc76c59ac54162d416
parent34ae3b16048f321e55fcc4922948f764c67c99e3 (diff)
downloadsamba-0b3e651e0567e5e628419ed57217b8c30cef20c5.tar.gz
samba-0b3e651e0567e5e628419ed57217b8c30cef20c5.tar.bz2
samba-0b3e651e0567e5e628419ed57217b8c30cef20c5.zip
r6704: fix compiler warning
metze (This used to be commit 9d86314c44ae8e1ec21653b21cc267bfac573445)
-rw-r--r--source4/auth/gensec/gensec_gsskrb5.c2
1 files changed, 1 insertions, 1 deletions
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,