From: Richard Sharpe Date: Thu, 17 May 2001 04:09:08 +0000 (+0000) Subject: Fix a small warning about char * vs unsigned char * that gets some compilers X-Git-Tag: samba-2.2.5pre1~2015^2~49 X-Git-Url: http://git.samba.org/?a=commitdiff_plain;h=672242a52eafde35cba4657bce248fef0df9e46b;p=samba.git Fix a small warning about char * vs unsigned char * that gets some compilers in a twitch. --- 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; }