1
0
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:
Volker Lendecke
2006-07-31 03:53:39 +00:00
committed by Gerald (Jerry) Carter
parent 1e4ee728df
commit be9aaffdac
14 changed files with 47 additions and 36 deletions

View File

@@ -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);