dovecot-1.1: Compiler warning fixes.

dovecot at dovecot.org dovecot at dovecot.org
Wed Jun 24 21:15:53 EEST 2009


details:   http://hg.dovecot.org/dovecot-1.1/rev/a634cd6ca486
changeset: 8313:a634cd6ca486
user:      Timo Sirainen <tss at iki.fi>
date:      Wed Jun 24 14:15:46 2009 -0400
description:
Compiler warning fixes.

diffstat:

2 files changed, 2 insertions(+), 2 deletions(-)
src/lib-storage/index/index-mail-headers.c |    2 +-
src/lib-storage/index/index-mail.c         |    2 +-

diffs (24 lines):

diff -r 77403fcaec28 -r a634cd6ca486 src/lib-storage/index/index-mail-headers.c
--- a/src/lib-storage/index/index-mail-headers.c	Sun Jun 21 23:44:01 2009 -0400
+++ b/src/lib-storage/index/index-mail-headers.c	Wed Jun 24 14:15:46 2009 -0400
@@ -143,7 +143,7 @@ static void index_mail_parse_header_fini
 		}
 	}
 
-	mail->data.dont_cache_field_idx = -1UL;
+	mail->data.dont_cache_field_idx = -1U;
 }
 
 static unsigned int
diff -r 77403fcaec28 -r a634cd6ca486 src/lib-storage/index/index-mail.c
--- a/src/lib-storage/index/index-mail.c	Sun Jun 21 23:44:01 2009 -0400
+++ b/src/lib-storage/index/index-mail.c	Wed Jun 24 14:15:46 2009 -0400
@@ -1109,7 +1109,7 @@ static void index_mail_reset(struct inde
 	data->save_date = (time_t)-1;
 	data->received_date = (time_t)-1;
 	data->sent_date.time = (uint32_t)-1;
-	data->dont_cache_field_idx = -1UL;
+	data->dont_cache_field_idx = -1U;
 
 	mail->mail.mail.seq = 0;
 	mail->mail.mail.uid = 0;


More information about the dovecot-cvs mailing list