dovecot-1.1: Compiler warning fix.
dovecot at dovecot.org
dovecot at dovecot.org
Thu Oct 30 00:31:06 EET 2008
details: http://hg.dovecot.org/dovecot-1.1/rev/d2ce8e4d204c
changeset: 7988:d2ce8e4d204c
user: Timo Sirainen <tss at iki.fi>
date: Thu Oct 30 00:31:03 2008 +0200
description:
Compiler warning fix.
diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
src/lib-storage/mailbox-uidvalidity.c | 4 ++--
diffs (14 lines):
diff -r 03b0b927436f -r d2ce8e4d204c src/lib-storage/mailbox-uidvalidity.c
--- a/src/lib-storage/mailbox-uidvalidity.c Thu Oct 30 00:17:26 2008 +0200
+++ b/src/lib-storage/mailbox-uidvalidity.c Thu Oct 30 00:31:03 2008 +0200
@@ -22,8 +22,8 @@ static uint32_t mailbox_uidvalidity_next
/* we failed to use the uidvalidity file. don't fail the mailbox
creation because of it though, most of the time it's safe enough
to use the current time as the uidvalidity value. */
- if (uid_validity < ioloop_time)
- uid_validity = ioloop_time;
+ if (uid_validity < (uint32_t)ioloop_time)
+ uid_validity = (uint32_t)ioloop_time;
else
uid_validity++;
return uid_validity;
More information about the dovecot-cvs
mailing list