diff --git a/usb.c b/usb.c index b2042e9c4..97a4496b9 100644 --- a/usb.c +++ b/usb.c @@ -928,7 +928,7 @@ static struct iio_context * usb_create_context(unsigned int bus, pdata->nb_ep_couples = iface->bNumEndpoints / 2; - IIO_DEBUG("Found %hhu usable i/o endpoint couples\n", pdata->nb_ep_couples); + IIO_DEBUG("Found %hu usable i/o endpoint couples\n", pdata->nb_ep_couples); pdata->io_endpoints = calloc(pdata->nb_ep_couples, sizeof(*pdata->io_endpoints));