[dovecot-cvs] dovecot/src/imap imap-fetch-body.c,1.10,1.11

cras at dovecot.org cras at dovecot.org
Mon Sep 20 23:51:51 EEST 2004


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

Modified Files:
	imap-fetch-body.c 
Log Message:
signed vs. unsigned warning fix



Index: imap-fetch-body.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/imap/imap-fetch-body.c,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -d -r1.10 -r1.11
--- imap-fetch-body.c	17 Sep 2004 17:38:22 -0000	1.10
+++ imap-fetch-body.c	20 Sep 2004 20:51:49 -0000	1.11
@@ -152,7 +152,7 @@
 
 		if ((ret = o_stream_send(output, msg, i)) < 0)
 			return -1;
-		if (ret < i) {
+		if ((uoff_t)ret < i) {
 			add = '\0';
 			blocks = TRUE;
 		}



More information about the dovecot-cvs mailing list