From: Timo Sirainen Date: Thu, 12 Jun 2014 23:34:19 +0000 (+0300) Subject: Compiler warning fix X-Git-Tag: 2.2.14.rc1~389 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0abbd167fe12a6b0aba98d38552f023a5fa8ffa7;p=thirdparty%2Fdovecot%2Fcore.git Compiler warning fix --- diff --git a/src/lib/ioloop-notify-inotify.c b/src/lib/ioloop-notify-inotify.c index 9177441f2d..a64637b37c 100644 --- a/src/lib/ioloop-notify-inotify.c +++ b/src/lib/ioloop-notify-inotify.c @@ -61,7 +61,7 @@ static bool inotify_input_more(struct ioloop *ioloop) 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);