tools/virtio: Variable type completion
authorwangjianli <wangjianli@cdjrlc.com>
Sun, 13 Nov 2022 07:07:42 +0000 (15:07 +0800)
committerMichael S. Tsirkin <mst@redhat.com>
Wed, 28 Dec 2022 10:28:10 +0000 (05:28 -0500)
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>
tools/virtio/virtio_test.c

index 86a410ddceddec107f3dd0cd294bb2785c8deba5..120062f94590c6b47a245e9df5c9c480d0a487c2 100644 (file)
@@ -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;