git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d1e5d5d
)
Fix a small warning about char * vs unsigned char * that gets some compilers
author
Richard Sharpe
<sharpe@samba.org>
Thu, 17 May 2001 04:09:08 +0000
(
04:09
+0000)
committer
Richard Sharpe
<sharpe@samba.org>
Thu, 17 May 2001 04:09:08 +0000
(
04:09
+0000)
in a twitch.
source/libsmb/clifile.c
patch
|
blob
|
history
diff --git
a/source/libsmb/clifile.c
b/source/libsmb/clifile.c
index c2db97cb3e84e73e3658c946db1ee49b02bba85b..4002a43c1b2cf89a3d287696ead69b21d1dbeee6 100644
(file)
--- 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;
}