diff options
-rw-r--r-- | source3/libsmb/clifile.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/libsmb/clifile.c b/source3/libsmb/clifile.c index c2db97cb3e..4002a43c1b 100644 --- a/source3/libsmb/clifile.c +++ b/source3/libsmb/clifile.c @@ -190,7 +190,7 @@ int cli_nt_delete_on_close(struct cli_state *cli, int fnum, BOOL flag) -1, 0, /* fid, flags */ &setup, 1, 0, /* setup, length, max */ param, param_len, 2, /* param, length, max */ - &data, data_len, cli->max_xmit /* data, length, max */ + (char *)&data, data_len, cli->max_xmit /* data, length, max */ )) { return False; } |