From 1b579da9ddb4fbdcdd60ed1b50ca52b6fa1e523e Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Wed, 14 Nov 2001 02:35:56 +0000 Subject: Fix from Herb. mincount/maxcount need to be ssize_t for comparisons. Jeremy. (This used to be commit 60983782ed078593d122e0c0bc6b4e17c3e56e63) --- source3/smbd/reply.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/smbd/reply.c') 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; -- cgit