summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Sharpe <sharpe@samba.org>2001-05-17 04:09:08 +0000
committerRichard Sharpe <sharpe@samba.org>2001-05-17 04:09:08 +0000
commit89de0c46ad994bd15217b4eb6c8d3793e35ffb92 (patch)
treeb8f186de4f6bf38394f4cfc212bcdcc867566f24
parentdd0cca5c2194448753483c50b44eb6c3ca305cbe (diff)
downloadsamba-89de0c46ad994bd15217b4eb6c8d3793e35ffb92.tar.gz
samba-89de0c46ad994bd15217b4eb6c8d3793e35ffb92.tar.bz2
samba-89de0c46ad994bd15217b4eb6c8d3793e35ffb92.zip
Fix a small warning about char * vs unsigned char * that gets some compilers
in a twitch. (This used to be commit 672242a52eafde35cba4657bce248fef0df9e46b)
-rw-r--r--source3/libsmb/clifile.c2
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;
}