summaryrefslogtreecommitdiffstats
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
commit672242a52eafde35cba4657bce248fef0df9e46b (patch)
tree993f777b8536d8412f15e0b3038b530ed55059a9
parentd1e5d5d62fcb5da30e3f2619721c5146db753f3c (diff)
downloadsamba-672242a52eafde35cba4657bce248fef0df9e46b.tar.gz
samba-672242a52eafde35cba4657bce248fef0df9e46b.tar.xz
samba-672242a52eafde35cba4657bce248fef0df9e46b.zip
Fix a small warning about char * vs unsigned char * that gets some compilers
in a twitch.
-rw-r--r--source/libsmb/clifile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/libsmb/clifile.c b/source/libsmb/clifile.c
index c2db97cb3e8..4002a43c1b2 100644
--- a/source/libsmb/clifile.c
+++ b/source/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;
}