diff src/lib-storage/index/dbox-common/dbox-storage.c @ 15080:e708a1d691d3

Compiler warning fixes for 32bit systems.
author Timo Sirainen <tss@iki.fi>
date Sun, 16 Sep 2012 16:12:03 +0300
parents 0efc12f3eb2a
children 8f4ce0932777
line wrap: on
line diff
--- a/src/lib-storage/index/dbox-common/dbox-storage.c	Sun Sep 16 16:08:18 2012 +0300
+++ b/src/lib-storage/index/dbox-common/dbox-storage.c	Sun Sep 16 16:12:03 2012 +0300
@@ -155,7 +155,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 < ioloop_time - (time_t)interval) {
 		/* time to scan */
 		const char *prefix =
 			mailbox_list_get_global_temp_prefix(list);