On 09/08/2013 11:24 AM, Alon Levy wrote:
Signed-off-by: Alon Levy <[email protected]>
---
  src/vdagent-virtio-port.c | 4 ++--
  1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/vdagent-virtio-port.c b/src/vdagent-virtio-port.c
index bacfa42..a5da35f 100644
--- a/src/vdagent-virtio-port.c
+++ b/src/vdagent-virtio-port.c
@@ -359,7 +359,7 @@ static void vdagent_virtio_port_do_chunk(struct 
vdagent_virtio_port **vportp)
      }
  }
-static int vport_read(struct vdagent_virtio_port *vport, char *buf, int len)
+static int vport_read(struct vdagent_virtio_port *vport, uint8_t *buf, int len)
  {
      if (vport->is_uds) {
          return recv(vport->fd, buf, len, 0);
@@ -447,7 +447,7 @@ static void vdagent_virtio_port_do_read(struct 
vdagent_virtio_port **vportp)
      }
  }
-static int vport_write(struct vdagent_virtio_port *vport, char *buf, int len)
+static int vport_write(struct vdagent_virtio_port *vport, uint8_t *buf, int 
len)
  {
      if (vport->is_uds) {
          return send(vport->fd, buf, len, 0);

Ack.
_______________________________________________
Spice-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/spice-devel

Reply via email to