[dovecot-cvs] dovecot/src/lib-storage/index index-mail.c,1.58,1.59

cras at dovecot.org cras at dovecot.org
Wed Sep 15 16:20:19 EEST 2004


Update of /var/lib/cvs/dovecot/src/lib-storage/index
In directory talvi:/tmp/cvs-serv22488/lib-storage/index

Modified Files:
	index-mail.c 
Log Message:
Compiler warning fixes and cleanups



Index: index-mail.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib-storage/index/index-mail.c,v
retrieving revision 1.58
retrieving revision 1.59
diff -u -d -r1.58 -r1.59
--- index-mail.c	12 Sep 2004 16:47:38 -0000	1.58
+++ index-mail.c	15 Sep 2004 13:20:16 -0000	1.59
@@ -227,7 +227,8 @@
 		data->save_sent_date = TRUE;
 		str = _mail->get_header(_mail, "Date");
 		if (data->sent_date.time == (time_t)-1) {
-			if (!message_date_parse(str, (size_t)-1,
+			if (!message_date_parse((const unsigned char *)str,
+						(size_t)-1,
 						&data->sent_date.time, &tz)) {
 				/* 0 == parse error */
 				data->sent_date.time = 0;



More information about the dovecot-cvs mailing list