summaryrefslogtreecommitdiffstats
path: root/hw/9pfs/virtio-9p.h
diff options
context:
space:
mode:
authorAneesh Kumar K.V2011-12-21 08:07:23 +0100
committerAneesh Kumar K.V2011-12-21 08:07:23 +0100
commit2f008a8c97e2549da7337c98c53eae2d31f0d548 (patch)
tree000586a20f0bec98688f403696686038cb150889 /hw/9pfs/virtio-9p.h
parenthw/9pfs: replace iovec manipulation with QEMUIOVector (diff)
downloadqemu-2f008a8c97e2549da7337c98c53eae2d31f0d548.tar.gz
qemu-2f008a8c97e2549da7337c98c53eae2d31f0d548.tar.xz
qemu-2f008a8c97e2549da7337c98c53eae2d31f0d548.zip
hw/9pfs: Use the correct signed type for different variables
Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Diffstat (limited to 'hw/9pfs/virtio-9p.h')
-rw-r--r--hw/9pfs/virtio-9p.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/9pfs/virtio-9p.h b/hw/9pfs/virtio-9p.h
index 8b612da529..19a797b727 100644
--- a/hw/9pfs/virtio-9p.h
+++ b/hw/9pfs/virtio-9p.h
@@ -156,7 +156,7 @@ typedef struct V9fsFidState V9fsFidState;
typedef struct V9fsString
{
- int16_t size;
+ uint16_t size;
char *data;
} V9fsString;