changeset 21207:dd3d0d323e54

lib-index: Compiler warning fix.
author Timo Sirainen <timo.sirainen@dovecot.fi>
date Thu, 24 Nov 2016 23:26:40 +0200
parents 08349c81324a
children 0563b9a51df3
files src/lib-index/mail-transaction-log.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/lib-index/mail-transaction-log.c	Wed Nov 23 23:19:05 2016 +0200
+++ b/src/lib-index/mail-transaction-log.c	Thu Nov 24 23:26:40 2016 +0200
@@ -216,7 +216,7 @@
 
 #define LOG_WANT_ROTATE(file) \
 	(((file)->sync_offset > (file)->log->index->log_rotate_min_size && \
-	  (time_t)(file)->hdr.create_stamp < \
+	  (file)->hdr.create_stamp < \
 	   ioloop_time - (file)->log->index->log_rotate_min_created_ago_secs) || \
 	 ((file)->sync_offset > (file)->log->index->log_rotate_max_size))