]> git.proxmox.com Git - qemu.git/commit - hw/virtio.c
virtio: use unsigned int for counting bytes in vq
authorAmit Shah <amit.shah@redhat.com>
Mon, 24 Sep 2012 18:35:14 +0000 (00:05 +0530)
committerMichael S. Tsirkin <mst@redhat.com>
Fri, 28 Sep 2012 10:16:27 +0000 (12:16 +0200)
commit385ce95d9d060f20870402c8b2b503d0b6ab8af0
treeccdef22713294acad413ee03fcd401daebef96f2
parent844b5cea8ea6cbe964670a26d1b34037067569df
virtio: use unsigned int for counting bytes in vq

The virtqueue_avail_bytes() function counts bytes in an int.  Use an
unsigned int instead.

Signed-off-by: Amit Shah <amit.shah@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/virtio.c