summaryrefslogtreecommitdiff
path: root/net.c
diff options
context:
space:
mode:
authorAnthony Liguori <aliguori@us.ibm.com>2009-06-10 20:24:44 -0500
committerAnthony Liguori <aliguori@us.ibm.com>2009-06-10 20:24:44 -0500
commit068daedd7dffcd065d3f238a6c04bb2cf51a9cd2 (patch)
tree45f67d9ede3938f1ccb60961eff4e0bdbe1b8b7f /net.c
parentf8e76fbf5190575c0f927fe3c5b0ec6934c6c3fc (diff)
Fix build breakage when using VDE introduced by 4f1c942
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'net.c')
-rw-r--r--net.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net.c b/net.c
index 4cf27be99c..039f78b0c7 100644
--- a/net.c
+++ b/net.c
@@ -1426,7 +1426,7 @@ static void vde_to_qemu(void *opaque)
static ssize_t vde_receive(VLANClientState *vc, const uint8_t *buf, size_t size)
{
VDEState *s = vc->opaque;
- ssize ret;
+ ssize_t ret;
do {
ret = vde_send(s->vde, (const char *)buf, size, 0);