[Spice-commits] src/channel-playback.c

Victor Toso de Carvalho victortoso at kemper.freedesktop.org
Tue Feb 23 15:31:43 UTC 2016

 src/channel-playback.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 27410ce1c1e8cd5abe659ca677e7a7718486e825
Author: Francois Gouget <fgouget at codeweavers.com>
Date:   Mon Feb 22 16:17:42 2016 +0100

    spice-gtk: Fix the signedness of a couple of mm-time traces
    Signed-off-by: Francois Gouget <fgouget at codeweavers.com>
    Acked-by: Marc-André Lureau <mlureau at redhat.com>

diff --git a/src/channel-playback.c b/src/channel-playback.c
index a124cbb..c97afd8 100644
--- a/src/channel-playback.c
+++ b/src/channel-playback.c
@@ -309,7 +309,7 @@ static void playback_handle_data(SpiceChannel *channel, SpiceMsgIn *in)
     SpiceMsgPlaybackPacket *packet = spice_msg_in_parsed(in);
 #ifdef DEBUG
-    CHANNEL_DEBUG(channel, "%s: time %d data %p size %d", __FUNCTION__,
+    CHANNEL_DEBUG(channel, "%s: time %u data %p size %d", __FUNCTION__,
                   packet->time, packet->data, packet->data_size);
@@ -346,7 +346,7 @@ static void playback_handle_mode(SpiceChannel *channel, SpiceMsgIn *in)
     SpicePlaybackChannelPrivate *c = SPICE_PLAYBACK_CHANNEL(channel)->priv;
     SpiceMsgPlaybackMode *mode = spice_msg_in_parsed(in);
-    CHANNEL_DEBUG(channel, "%s: time %d mode %d data %p size %d", __FUNCTION__,
+    CHANNEL_DEBUG(channel, "%s: time %u mode %d data %p size %d", __FUNCTION__,
                   mode->time, mode->mode, mode->data, mode->data_size);
     c->mode = mode->mode;

More information about the Spice-commits mailing list