mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
s4-samdb: Correctly cast data pointer
This fixes a signedness warning. Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
parent
fec300b0c1
commit
cd71f9338a
@ -652,7 +652,7 @@ static int setup_kerberos_keys(struct setup_password_fields_io *io)
|
||||
krb5_data cleartext_data;
|
||||
|
||||
ldb = ldb_module_get_ctx(io->ac->module);
|
||||
cleartext_data.data = io->n.cleartext_utf8->data;
|
||||
cleartext_data.data = (char *)io->n.cleartext_utf8->data;
|
||||
cleartext_data.length = io->n.cleartext_utf8->length;
|
||||
|
||||
/* Many, many thanks to lukeh@padl.com for this
|
||||
|
Loading…
Reference in New Issue
Block a user