From e64fce8b883a49a8ecb6f0e4d326d3b5f11d2282 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Mon, 30 Aug 2004 05:32:00 +0000 Subject: r2101: fixed a signed/unsigned char warning (This used to be commit f5fd90848d350ba1016282a6ee9ea3c83a6e4a63) --- source4/libcli/clireadwrite.c | 4 ++-- 1 file 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; -- cgit