From: "Daniel P. Berrange" <berra...@redhat.com> Arithmetic on void * pointers is undefined by the C standard. Convert the one case of this to use guint8 instead.
* gtk/channel-main.c: s/void */guint8 */ --- gtk/channel-main.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/gtk/channel-main.c b/gtk/channel-main.c index 745e954..bd64662 100644 --- a/gtk/channel-main.c +++ b/gtk/channel-main.c @@ -777,7 +777,7 @@ static void agent_msg_queue(SpiceMainChannel *channel, int type, int size, void SpiceMainChannelPrivate *c = channel->priv; SpiceMsgOut *out; VDAgentMessage msg; - void *payload; + guint8 *payload; guint32 paysize; guint8 *d = data; -- 1.7.7.6 _______________________________________________ Spice-devel mailing list Spice-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/spice-devel