mirror of
https://github.com/samba-team/samba.git
synced 2025-11-25 00:23:52 +03:00
r17333: Some C++ warnings
This commit is contained in:
committed by
Gerald (Jerry) Carter
parent
1e4ee728df
commit
be9aaffdac
@@ -847,7 +847,7 @@ BOOL cli_qfileinfo_test(struct cli_state *cli, int fnum, int level, char **poutd
|
||||
return False;
|
||||
}
|
||||
|
||||
*poutdata = memdup(rdata, data_len);
|
||||
*poutdata = (char *)memdup(rdata, data_len);
|
||||
if (!*poutdata) {
|
||||
SAFE_FREE(rdata);
|
||||
SAFE_FREE(rparam);
|
||||
|
||||
Reference in New Issue
Block a user