summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2001-11-14 02:35:56 +0000
committerJeremy Allison <jra@samba.org>2001-11-14 02:35:56 +0000
commit1b579da9ddb4fbdcdd60ed1b50ca52b6fa1e523e (patch)
tree3dc8c2f873879f163dcb2501a92f02fa26fe06c9
parent31b91bfe4ef65630429445d9c84c1a853e47ee7c (diff)
downloadsamba-1b579da9ddb4fbdcdd60ed1b50ca52b6fa1e523e.tar.gz
samba-1b579da9ddb4fbdcdd60ed1b50ca52b6fa1e523e.tar.bz2
samba-1b579da9ddb4fbdcdd60ed1b50ca52b6fa1e523e.zip
Fix from Herb. mincount/maxcount need to be ssize_t for comparisons.
Jeremy. (This used to be commit 60983782ed078593d122e0c0bc6b4e17c3e56e63)
-rw-r--r--source3/smbd/reply.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/reply.c b/source3/smbd/reply.c
index 72e75281c6..dce5873ba8 100644
--- a/source3/smbd/reply.c
+++ b/source3/smbd/reply.c
@@ -1386,7 +1386,7 @@ void fail_readraw(void)
int reply_readbraw(connection_struct *conn, char *inbuf, char *outbuf, int dum_size, int dum_buffsize)
{
- size_t maxcount,mincount;
+ ssize_t maxcount,mincount;
size_t nread = 0;
SMB_OFF_T startpos;
char *header = outbuf;