]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
Compiler warning fix
authorTimo Sirainen <tss@iki.fi>
Thu, 12 Jun 2014 23:34:19 +0000 (02:34 +0300)
committerTimo Sirainen <tss@iki.fi>
Thu, 12 Jun 2014 23:34:19 +0000 (02:34 +0300)
src/lib/ioloop-notify-inotify.c

index 9177441f2d480cef99f0a9fcc747c069d5cd9bd4..a64637b37c545ba38421d20bfe09d6ebf4f48589 100644 (file)
@@ -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);