[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 2/2] hw/virtio-net: fix config_size data type
From: |
Jesse Larrew |
Subject: |
[Qemu-devel] [PATCH 2/2] hw/virtio-net: fix config_size data type |
Date: |
Thu, 7 Feb 2013 14:49:27 -0600 |
Since the new config_size member of struct VirtIONet specifies a size, it
should be declared as size_t.
Signed-off-by: Jesse Larrew <address@hidden>
---
hw/virtio-net.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/hw/virtio-net.c b/hw/virtio-net.c
index 663f33c..573c669 100644
--- a/hw/virtio-net.c
+++ b/hw/virtio-net.c
@@ -73,7 +73,7 @@ typedef struct VirtIONet
int multiqueue;
uint16_t max_queues;
uint16_t curr_queues;
- int config_size;
+ size_t config_size;
} VirtIONet;
/*
--
1.7.11.7