Sophie

Sophie

distrib > Scientific%20Linux > 5x > x86_64 > by-pkgid > 3160499aacb81f6735941eb4c372d87a > files > 138

kvm-83-164.el5_5.30.src.rpm

From bd98d003f54c40850c4bac1fc9c5108bb8392884 Mon Sep 17 00:00:00 2001
From: Eduardo Habkost <ehabkost@redhat.com>
Date: Thu, 17 Sep 2009 14:06:02 -0300
Subject: [PATCH 06/38] In qemu all buffers are uint8_t not char

RH-Author: Juan Quintela <quintela@redhat.com>
Message-id: <d7247ea1615008454c886b4e179e9bddc58f247c.1249487147.git.quintela@redhat.com>
Patchwork-id: 3171
O-Subject: [PATCH 05/38] In qemu all buffers are uint8_t not char
Bugzilla: 515749
RH-Acked-by: Eduardo Habkost <ehabkost@redhat.com>
RH-Acked-by: Kevin Wolf <kwolf@redhat.com>
RH-Acked-by: Luiz Capitulino <lcapitulino@redhat.com>
RH-Acked-by: Markus Armbruster <armbru@redhat.com>

Upstream has it as uint8_t

Signed-off-by: Juan Quintela <quintela@redhat.com>
---
 qemu/net.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
---
 qemu/net.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/qemu/net.c b/qemu/net.c
index b1c61fa..d292f59 100644
--- a/qemu/net.c
+++ b/qemu/net.c
@@ -748,7 +748,7 @@ typedef struct TAPState {
     int fd;
     char down_script[1024];
     char down_script_arg[128];
-    char buf[TAP_BUFSIZE];
+    uint8_t buf[TAP_BUFSIZE];
     int size;
     unsigned int has_vnet_hdr : 1;
     unsigned int using_vnet_hdr : 1;
-- 
1.6.3.rc4.29.g8146