Hi On Wed, Feb 20, 2019 at 2:07 AM Philippe Mathieu-Daudé <phi...@redhat.com> wrote: > > Since iov_size() returns a size_t, no need to use a signed type.
And it is the variable only purpose. > > Signed-off-by: Philippe Mathieu-Daudé <phi...@redhat.com> Reviewed-by: Marc-André Lureau <marcandre.lur...@redhat.com> > --- > net/filter-mirror.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/net/filter-mirror.c b/net/filter-mirror.c > index 3a61cf21e8..97b52d0544 100644 > --- a/net/filter-mirror.c > +++ b/net/filter-mirror.c > @@ -48,7 +48,7 @@ static int filter_send(MirrorState *s, > { > NetFilterState *nf = NETFILTER(s); > int ret = 0; > - ssize_t size = 0; > + size_t size = 0; > uint32_t len = 0; > char *buf; > > -- > 2.20.1 > _______________________________________________ Xen-devel mailing list Xen-devel@lists.xenproject.org https://lists.xenproject.org/mailman/listinfo/xen-devel