From: Stephan Bosch Date: Mon, 1 May 2017 20:23:36 +0000 (+0200) Subject: lib-index: mail-index-transaction-export: Fixed handling of transaction_flag_updates_... X-Git-Tag: 2.3.0.rc1~1674 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=af0a12ae492d79e27b29d63ff0f289f9034fecc9;p=thirdparty%2Fdovecot%2Fcore.git lib-index: mail-index-transaction-export: Fixed handling of transaction_flag_updates_have_non_internal() return value. Found using Clang -Wstrict-bool. --- diff --git a/src/lib-index/mail-index-transaction-export.c b/src/lib-index/mail-index-transaction-export.c index 5e519a1b9b..479ead544f 100644 --- a/src/lib-index/mail-index-transaction-export.c +++ b/src/lib-index/mail-index-transaction-export.c @@ -592,7 +592,7 @@ uint64_t mail_index_transaction_get_highest_modseq(struct mail_index_transaction new_highest_modseq++; } if (array_is_created(&t->updates) && - transaction_flag_updates_have_non_internal(t) > 0) + transaction_flag_updates_have_non_internal(t)) new_highest_modseq++; if (array_is_created(&t->keyword_updates)) { new_highest_modseq +=