dovecot-2.0-sslstream: dsync: Compiler warning fix.

dovecot at dovecot.org dovecot at dovecot.org
Sat Feb 13 02:56:25 EET 2010


details:   http://hg.dovecot.org/dovecot-2.0-sslstream/rev/32a754b2d79b
changeset: 10330:32a754b2d79b
user:      Timo Sirainen <tss at iki.fi>
date:      Mon Nov 16 11:35:52 2009 -0500
description:
dsync: Compiler warning fix.

diffstat:

1 file changed, 1 insertion(+), 1 deletion(-)
src/dsync/dsync-worker-local.c |    2 +-

diffs (12 lines):

diff -r b63fd6156663 -r 32a754b2d79b src/dsync/dsync-worker-local.c
--- a/src/dsync/dsync-worker-local.c	Fri Nov 13 20:55:05 2009 -0500
+++ b/src/dsync/dsync-worker-local.c	Mon Nov 16 11:35:52 2009 -0500
@@ -279,7 +279,7 @@ static unsigned int subscription_change_
 	const struct local_dsync_subscription_change *change = p;
 
 	return mailbox_log_record_hash(change->name_sha1.guid) ^
-		(unsigned int)change->list;
+		POINTER_CAST_TO(change->list, unsigned int);
 }
 
 static int subscription_change_cmp(const void *p1, const void *p2)


More information about the dovecot-cvs mailing list