summaryrefslogtreecommitdiff
path: root/tools/virtio
diff options
context:
space:
mode:
authorwangjianli <wangjianli@cdjrlc.com>2022-11-13 15:07:42 +0800
committerMichael S. Tsirkin <mst@redhat.com>2022-12-28 05:28:10 -0500
commita4722f64f924a9992efc08d141c21b2da02b70f3 (patch)
tree40524be827f13a33cd970f6333659a18b4e9ae6a /tools/virtio
parent794ec498c9fa79e6bfd71b931410d5897a9c00d4 (diff)
tools/virtio: Variable type completion
Replace "unsigned" with "unsigned int" Signed-off-by: wangjianli <wangjianli@cdjrlc.com> Message-Id: <20221113070742.48271-1-wangjianli@cdjrlc.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'tools/virtio')
-rw-r--r--tools/virtio/virtio_test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/virtio/virtio_test.c b/tools/virtio/virtio_test.c
index 86a410ddcedd..120062f94590 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;