On Thu 11 Oct 2018 03:14:13 PM CEST, Philippe Mathieu-Daudé wrote: > diff --git a/hw/char/ipoctal232.c b/hw/char/ipoctal232.c > index 5e09caf851..ba3f3408a2 100644 > --- a/hw/char/ipoctal232.c > +++ b/hw/char/ipoctal232.c > @@ -461,14 +461,14 @@ static void mem_write8(IPackDevice *ip, uint32_t addr, > uint8_t val) > } > } > > -static int hostdev_can_receive(void *opaque) > +static size_t hostdev_can_receive(void *opaque) > { > SCC2698Channel *ch = opaque; > int available_bytes = RX_FIFO_SIZE - ch->rx_pending; > return ch->rx_enabled ? available_bytes : 0; > } > > -static void hostdev_receive(void *opaque, const uint8_t *buf, int size) > +static void hostdev_receive(void *opaque, const uint8_t *buf, size_t size) > { > SCC2698Channel *ch = opaque; > IPOctalState *dev = ch->ipoctal;
Acked-by: Alberto Garcia <be...@igalia.com> Berto _______________________________________________ Xen-devel mailing list Xen-devel@lists.xenproject.org https://lists.xenproject.org/mailman/listinfo/xen-devel