changeset 3650:8484001f1584 HEAD

Type mismatch fixes
author Timo Sirainen <tss@iki.fi>
date Wed, 12 Oct 2005 20:52:38 +0300
parents 8c63af0ab91a
children a2d7da8ad64e
files src/lib/ostream-crlf.c
diffstat 1 files changed, 5 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/src/lib/ostream-crlf.c	Wed Oct 12 20:14:21 2005 +0300
+++ b/src/lib/ostream-crlf.c	Wed Oct 12 20:52:38 2005 +0300
@@ -109,13 +109,13 @@
 
 static ssize_t
 _sendv_crlf(struct _ostream *stream, const struct const_iovec *iov,
-	    size_t iov_count)
+	    unsigned int iov_count)
 {
 	struct crlf_ostream *cstream = (struct crlf_ostream *)stream;
 	buffer_t *iov_buf, *diff_buf;
 	const unsigned char *data;
 	struct const_iovec new_iov;
-	size_t vec, i, len, start, new_iov_count = 0, new_iov_size = 0;
+	unsigned int vec, i, len, start, new_iov_count = 0, new_iov_size = 0;
 	ssize_t ret, total;
 	int last_cr;
 
@@ -217,13 +217,14 @@
 
 static ssize_t
 _sendv_lf(struct _ostream *stream, const struct const_iovec *iov,
-	  size_t iov_count)
+	  unsigned int iov_count)
 {
 	struct crlf_ostream *cstream = (struct crlf_ostream *)stream;
 	buffer_t *iov_buf, *diff_buf;
 	const unsigned char *data;
 	struct const_iovec new_iov;
-	size_t vec, i, len, start, next, new_iov_count = 0, new_iov_size = 0;
+	unsigned int vec, i, len, start, next;
+	unsigned int new_iov_count = 0, new_iov_size = 0;
 	ssize_t ret, total;
 	int diff;