summaryrefslogtreecommitdiff
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
commitb06c35e25206eb7937326f844ed6434aa3d72b12 (patch)
tree45f67d9ede3938f1ccb60961eff4e0bdbe1b8b7f
parent99467f1c885933e3aeac70dea16278b83172f563 (diff)
downloadqemu-b06c35e25206eb7937326f844ed6434aa3d72b12.tar.gz
qemu-b06c35e25206eb7937326f844ed6434aa3d72b12.tar.bz2
qemu-b06c35e25206eb7937326f844ed6434aa3d72b12.zip
Fix build breakage when using VDE introduced by 4f1c942
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
-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);