diff --git a/tools/virtio/virtio_test.c b/tools/virtio/virtio_test.c index 86a410ddceddec107f3dd0cd294bb2785c8deba5..120062f94590c6b47a245e9df5c9c480d0a487c2 100644 --- a/tools/virtio/virtio_test.c +++ b/tools/virtio/virtio_test.c @@ -173,7 +173,7 @@ static void run_test(struct vdev_info *dev, struct vq_info *vq, long started = 0, completed = 0, next_reset = reset_n; long completed_before, started_before; int r, test = 1; - unsigned len; + unsigned int len; long long spurious = 0; const bool random_batch = batch == RANDOM_BATCH;