diff options
author | Francois Gouget <fgouget@codeweavers.com> | 2016-02-22 16:17:42 +0100 |
---|---|---|
committer | Victor Toso <victortoso@redhat.com> | 2016-02-23 16:29:23 +0100 |
commit | 27410ce1c1e8cd5abe659ca677e7a7718486e825 (patch) | |
tree | 15e440404db1051bcc60afbd6c77db308aa86087 | |
parent | 6a7393e6e6503a7b237065a74d6963b6ad4e07e7 (diff) |
spice-gtk: Fix the signedness of a couple of mm-time traces
Signed-off-by: Francois Gouget <fgouget@codeweavers.com>
Acked-by: Marc-André Lureau <mlureau@redhat.com>
-rw-r--r-- | src/channel-playback.c | 4 |
1 files changed, 2 insertions, 2 deletions
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); #endif @@ -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; |