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

s3:rpc_server: 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:54:02 +12:00 committed by Andrew Bartlett
parent b3c47b6583
commit 448cc122a8

View File

@ -1473,7 +1473,7 @@ NTSTATUS _netr_ServerPasswordSet2(struct pipes_struct *p,
CH_UNIX,
new_password.data,
new_password.length,
(void *)&plaintext.data,
&plaintext.data,
&plaintext.length);
if (!ok) {
DBG_WARNING("unable to extract password from a buffer. "