dovecot-2.1: Compiler warning fix

dovecot at dovecot.org dovecot at dovecot.org
Sun Sep 29 07:05:27 EEST 2013


details:   http://hg.dovecot.org/dovecot-2.1/rev/056ed90355ca
changeset: 15001:056ed90355ca
user:      Timo Sirainen <tss at iki.fi>
date:      Sun Sep 29 07:05:12 2013 +0300
description:
Compiler warning fix

diffstat:

 src/lib-storage/index/dbox-common/dbox-storage.c |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r c546b384b76c -r 056ed90355ca src/lib-storage/index/dbox-common/dbox-storage.c
--- a/src/lib-storage/index/dbox-common/dbox-storage.c	Sat Sep 28 09:09:04 2013 +0300
+++ b/src/lib-storage/index/dbox-common/dbox-storage.c	Sun Sep 29 07:05:12 2013 +0300
@@ -165,7 +165,7 @@
 	} else if (st.st_atime > st.st_ctime + DBOX_TMP_DELETE_SECS) {
 		/* there haven't been any changes to this directory since we
 		   last checked it. */
-	} else if (st.st_atime < ioloop_time - interval) {
+	} else if (st.st_atime < (time_t)(ioloop_time - interval)) {
 		/* time to scan */
 		const char *prefix =
 			mailbox_list_get_global_temp_prefix(list);


More information about the dovecot-cvs mailing list