diff options
author | Andrew Tridgell <tridge@samba.org> | 2004-08-30 05:32:00 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:58:25 -0500 |
commit | e64fce8b883a49a8ecb6f0e4d326d3b5f11d2282 (patch) | |
tree | 3d98f5698fa7ac790adda61db120d4ecd9999d7a /source4/libcli | |
parent | e7f36ff1a5ec909573ef398d215608e7c9aa71fe (diff) | |
download | samba-e64fce8b883a49a8ecb6f0e4d326d3b5f11d2282.tar.gz samba-e64fce8b883a49a8ecb6f0e4d326d3b5f11d2282.tar.bz2 samba-e64fce8b883a49a8ecb6f0e4d326d3b5f11d2282.zip |
r2101: fixed a signed/unsigned char warning
(This used to be commit f5fd90848d350ba1016282a6ee9ea3c83a6e4a63)
Diffstat (limited to 'source4/libcli')
-rw-r--r-- | source4/libcli/clireadwrite.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/libcli/clireadwrite.c b/source4/libcli/clireadwrite.c index dd9f8d44cc..45c99f4f89 100644 --- a/source4/libcli/clireadwrite.c +++ b/source4/libcli/clireadwrite.c @@ -83,8 +83,8 @@ ssize_t smbcli_read(struct smbcli_tree *tree, int fnum, char *buf, off_t offset, 0x0008 start of message mode named pipe protocol ****************************************************************************/ ssize_t smbcli_write(struct smbcli_tree *tree, - int fnum, uint16_t write_mode, - const char *buf, off_t offset, size_t size) + int fnum, uint16_t write_mode, + const uint8_t *buf, off_t offset, size_t size) { union smb_write parms; int block = (tree->session->transport->negotiate.max_xmit - (MIN_SMB_SIZE+32)) & ~1023; |