1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00

r2101: fixed a signed/unsigned char warning

(This used to be commit f5fd90848d)
This commit is contained in:
Andrew Tridgell 2004-08-30 05:32:00 +00:00 committed by Gerald (Jerry) Carter
parent e7f36ff1a5
commit e64fce8b88

View File

@ -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;