comparison 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
comparison
equal deleted inserted replaced
15079:925d4a890a9b 15080:e708a1d691d3
153 if (interval == 0) { 153 if (interval == 0) {
154 /* disabled */ 154 /* disabled */
155 } else if (st.st_atime > st.st_ctime + DBOX_TMP_DELETE_SECS) { 155 } else if (st.st_atime > st.st_ctime + DBOX_TMP_DELETE_SECS) {
156 /* there haven't been any changes to this directory since we 156 /* there haven't been any changes to this directory since we
157 last checked it. */ 157 last checked it. */
158 } else if (st.st_atime < ioloop_time - interval) { 158 } else if (st.st_atime < ioloop_time - (time_t)interval) {
159 /* time to scan */ 159 /* time to scan */
160 const char *prefix = 160 const char *prefix =
161 mailbox_list_get_global_temp_prefix(list); 161 mailbox_list_get_global_temp_prefix(list);
162 162
163 (void)unlink_old_files(path, prefix, 163 (void)unlink_old_files(path, prefix,