dovecot-1.3: Compiler warning fixes on 64bit systems.

dovecot at dovecot.org dovecot at dovecot.org
Mon Apr 6 20:51:55 EEST 2009


details:   http://hg.dovecot.org/dovecot-1.3/rev/30db22205884
changeset: 9022:30db22205884
user:      Timo Sirainen <tss at iki.fi>
date:      Fri Apr 03 17:31:08 2009 -0400
description:
Compiler warning fixes on 64bit systems.

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 5650eba36f79 -r 30db22205884 src/lib-storage/index/index-mail-headers.c
--- a/src/lib-storage/index/index-mail-headers.c	Fri Apr 03 16:33:42 2009 -0400
+++ b/src/lib-storage/index/index-mail-headers.c	Fri Apr 03 17:31:08 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 5650eba36f79 -r 30db22205884 src/lib-storage/index/index-mail.c
--- a/src/lib-storage/index/index-mail.c	Fri Apr 03 16:33:42 2009 -0400
+++ b/src/lib-storage/index/index-mail.c	Fri Apr 03 17:31:08 2009 -0400
@@ -1140,7 +1140,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