dovecot-2.2: Compiler warning fix

dovecot at dovecot.org dovecot at dovecot.org
Thu Jun 12 23:35:30 UTC 2014


details:   http://hg.dovecot.org/dovecot-2.2/rev/50889bc95f45
changeset: 17481:50889bc95f45
user:      Timo Sirainen <tss at iki.fi>
date:      Fri Jun 13 02:34:19 2014 +0300
description:
Compiler warning fix

diffstat:

 src/lib/ioloop-notify-inotify.c |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r b67c1c9bf1a5 -r 50889bc95f45 src/lib/ioloop-notify-inotify.c
--- a/src/lib/ioloop-notify-inotify.c	Fri Jun 13 02:19:15 2014 +0300
+++ b/src/lib/ioloop-notify-inotify.c	Fri Jun 13 02:34:19 2014 +0300
@@ -61,7 +61,7 @@
 			break;
 
 		event = (struct inotify_event *)(event_buf + pos);
-		i_assert(event->len < ret);
+		i_assert(event->len < (size_t)ret);
 		pos += sizeof(*event) + event->len;
 
 		io = io_notify_fd_find(&ctx->fd_ctx, event->wd);


More information about the dovecot-cvs mailing list