dovecot-2.1: Compiler warning fix
dovecot at dovecot.org
dovecot at dovecot.org
Sat Sep 28 09:09:18 EEST 2013
details: http://hg.dovecot.org/dovecot-2.1/rev/c546b384b76c
changeset: 15000:c546b384b76c
user: Timo Sirainen <tss at iki.fi>
date: Sat Sep 28 09:09:04 2013 +0300
description:
Compiler warning fix
diffstat:
src/lib-storage/index/maildir/maildir-storage.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r caa466370fff -r c546b384b76c src/lib-storage/index/maildir/maildir-storage.c
--- a/src/lib-storage/index/maildir/maildir-storage.c Fri Sep 27 05:33:43 2013 +0200
+++ b/src/lib-storage/index/maildir/maildir-storage.c Sat Sep 28 09:09:04 2013 +0300
@@ -225,7 +225,7 @@
} else if (st.st_atime > st.st_ctime + MAILDIR_TMP_DELETE_SECS) {
/* the directory should be empty. we won't do anything
until ctime changes. */
- } 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(path, "",
ioloop_time - MAILDIR_TMP_DELETE_SECS);
More information about the dovecot-cvs
mailing list