diff options
author | Andreas Schneider <asn@samba.org> | 2015-04-16 12:57:35 +0200 |
---|---|---|
committer | Andreas Schneider <asn@cryptomilk.org> | 2015-07-21 19:04:14 +0200 |
commit | 81471560d9b0c92b3dbbbe71a7c4b27aa376b8d0 (patch) | |
tree | 98c7f6e159ff549467fb89a0677240f3cd218305 | |
parent | 17c8b1a821b4ac4509340bfa148f8d1409e3a01d (diff) | |
download | samba-81471560d9b0c92b3dbbbe71a7c4b27aa376b8d0.tar.gz |
s4-kdc: Fix a casting warning
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Alexander Bokovoy <ab@samba.org>
-rw-r--r-- | source4/kdc/db-glue.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/kdc/db-glue.c b/source4/kdc/db-glue.c index 10d4737089c..8da0da0cd1a 100644 --- a/source4/kdc/db-glue.c +++ b/source4/kdc/db-glue.c @@ -1299,7 +1299,7 @@ static krb5_error_code samba_kdc_trust_message2entry(krb5_context context, krb5_data salt; krb5_data cleartext_data; - cleartext_data.data = password_utf8.data; + cleartext_data.data = discard_const_p(char, password_utf8.data); cleartext_data.length = password_utf8.length; ret = smb_krb5_get_pw_salt(context, |