[prev in list] [next in list] [prev in thread] [next in thread] 

List:       dovecot-cvs
Subject:    dovecot-1.1: Compiler warning fix.
From:       dovecot () dovecot ! org (dovecot at dovecot ! org)
Date:       2008-10-29 22:31:06
Message-ID: hg.d2ce8e4d204c.1225319466.-1467822489 () syksy ! dovecot ! org
[Download RAW message or body]

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;

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic