[dovecot-cvs] dovecot/src/lib ostream-crlf.c,1.10,1.11

cras at dovecot.org cras at dovecot.org
Wed Oct 12 20:52:40 EEST 2005


Update of /var/lib/cvs/dovecot/src/lib
In directory talvi:/tmp/cvs-serv24827

Modified Files:
	ostream-crlf.c 
Log Message:
Type mismatch fixes



Index: ostream-crlf.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib/ostream-crlf.c,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -d -r1.10 -r1.11
--- ostream-crlf.c	26 Apr 2005 10:43:57 -0000	1.10
+++ ostream-crlf.c	12 Oct 2005 17:52:38 -0000	1.11
@@ -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;
 



More information about the dovecot-cvs mailing list