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

dovecot at dovecot.org dovecot at dovecot.org
Sat Apr 4 00:31:14 EEST 2009


details:   http://hg.dovecot.org/dovecot-1.2/rev/a29215e13241
changeset: 8914:a29215e13241
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 af48a429abd0 -r a29215e13241 src/lib-storage/index/index-mail-headers.c
--- a/src/lib-storage/index/index-mail-headers.c	Fri Apr 03 16:38:14 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 af48a429abd0 -r a29215e13241 src/lib-storage/index/index-mail.c
--- a/src/lib-storage/index/index-mail.c	Fri Apr 03 16:38:14 2009 -0400
+++ b/src/lib-storage/index/index-mail.c	Fri Apr 03 17:31:08 2009 -0400
@@ -1139,7 +1139,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