dovecot-2.1: Compiler warning fix

dovecot at dovecot.org dovecot at dovecot.org
Mon Sep 30 06:41:11 EEST 2013


details:   http://hg.dovecot.org/dovecot-2.1/rev/49258067fcfb
changeset: 15002:49258067fcfb
user:      Timo Sirainen <tss at iki.fi>
date:      Mon Sep 30 06:40:50 2013 +0300
description:
Compiler warning fix

diffstat:

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

diffs (12 lines):

diff -r 056ed90355ca -r 49258067fcfb src/lib-storage/index/dbox-multi/mdbox-map.c
--- a/src/lib-storage/index/dbox-multi/mdbox-map.c	Sun Sep 29 07:05:12 2013 +0300
+++ b/src/lib-storage/index/dbox-multi/mdbox-map.c	Mon Sep 30 06:40:50 2013 +0300
@@ -158,7 +158,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 */
 		(void)unlink_old_files(map->path, DBOX_TEMP_FILE_PREFIX,
 				       ioloop_time - DBOX_TMP_DELETE_SECS);


More information about the dovecot-cvs mailing list