1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00

s3:libnet: Remove unnecessary cast

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
Joseph Sutton 2023-08-09 16:53:21 +12:00 committed by Andrew Bartlett
parent 683dab1102
commit 4004ded906

View File

@ -1357,7 +1357,7 @@ static NTSTATUS libnet_join_joindomain_rpc_unsecure(TALLOC_CTX *mem_ctx,
len = strlen(r->in.machine_password);
ok = convert_string_talloc(frame, CH_UNIX, CH_UTF16,
r->in.machine_password, len,
(void **)&new_trust_blob.data,
&new_trust_blob.data,
&new_trust_blob.length);
if (!ok) {
status = NT_STATUS_UNMAPPABLE_CHARACTER;