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

lib:mscat: Remove unnecessary casts

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:51:33 +12:00 committed by Andrew Bartlett
parent 4af3faace4
commit 74e1bb0571

View File

@ -315,7 +315,7 @@ static int ctl_get_member_checksum_string(struct mscat_ctl *ctl,
CH_UNIX, CH_UNIX,
chksum_ucs2.data, chksum_ucs2.data,
chksum_ucs2.length, chksum_ucs2.length,
(void **)&checksum, &checksum,
&converted_size); &converted_size);
if (!ok) { if (!ok) {
rc = -1; rc = -1;
@ -450,7 +450,7 @@ static int ctl_parse_name_value(struct mscat_ctl *ctl,
CH_UNIX, CH_UNIX,
name_blob.data, name_blob.data,
name_blob.length, name_blob.length,
(void **)pname, pname,
&converted_size); &converted_size);
if (!ok) { if (!ok) {
rc = ASN1_MEM_ERROR; rc = ASN1_MEM_ERROR;
@ -464,7 +464,7 @@ static int ctl_parse_name_value(struct mscat_ctl *ctl,
CH_UNIX, CH_UNIX,
value_blob.data, value_blob.data,
value_blob.length, value_blob.length,
(void **)pvalue, pvalue,
&converted_size); &converted_size);
if (!ok) { if (!ok) {
rc = ASN1_MEM_ERROR; rc = ASN1_MEM_ERROR;
@ -543,7 +543,7 @@ static int ctl_parse_member_info(struct mscat_ctl *ctl,
CH_UNIX, CH_UNIX,
name_blob.data, name_blob.data,
name_blob.length, name_blob.length,
(void **)pname, pname,
&converted_size); &converted_size);
if (!ok) { if (!ok) {
rc = ASN1_MEM_ERROR; rc = ASN1_MEM_ERROR;
@ -679,7 +679,7 @@ static int ctl_spc_pe_image_data(struct mscat_ctl *ctl,
CH_UNIX, CH_UNIX,
file_blob.data, file_blob.data,
file_blob.length, file_blob.length,
(void **)&file, &file,
&converted_size); &converted_size);
if (!ok) { if (!ok) {
rc = -1; rc = -1;