]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
lib-index: Compiler warning fix.
authorTimo Sirainen <timo.sirainen@dovecot.fi>
Thu, 24 Nov 2016 21:26:40 +0000 (23:26 +0200)
committerTimo Sirainen <timo.sirainen@dovecot.fi>
Fri, 25 Nov 2016 13:28:30 +0000 (15:28 +0200)
src/lib-index/mail-transaction-log.c

index 9e45acca897f0c0d559a1ff42616d6fa42723806..484900bc57f4e3126d4edd62dff0f043b018c99c 100644 (file)
@@ -216,7 +216,7 @@ void mail_transaction_logs_clean(struct mail_transaction_log *log)
 
 #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))