io: convert QIOChannelBuffer to use uint8_t instead of char
authorDaniel P. Berrange <berrange@redhat.com>
Fri, 12 Feb 2016 16:45:31 +0000 (16:45 +0000)
committerDaniel P. Berrange <berrange@redhat.com>
Mon, 15 Feb 2016 14:49:18 +0000 (14:49 +0000)
commite8f117f3b3eb41a766d38e0b765f89ec79c6a9ff
treee7624bb18f4e7ae696a30f7b03abdfb5374ee3ae
parentc767ae62b9efb2c9b2a757984ff1b14f89b49249
io: convert QIOChannelBuffer to use uint8_t instead of char

The QIOChannelBuffer struct uses a 'char *' for its data
buffer. It will give simpler type compatibility with the
migration APIs if it uses 'uint8_t *' instead, avoiding
several casts.

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
include/io/channel-buffer.h
io/channel-buffer.c