[Spice-devel] [PATCH] spice-gtk: Fix the signedness of a couple of mm-time traces

Victor Toso lists at victortoso.com
Tue Feb 23 15:32:25 UTC 2016


And pushed.

Thanks!

On Mon, Feb 22, 2016 at 10:29:37AM -0500, Marc-André Lureau wrote:
> ack
> 
> ----- Original Message -----
> > Signed-off-by: Francois Gouget <fgouget at codeweavers.com>
> > ---
> >  src/channel-playback.c | 4 ++--
> >  1 file 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;
> > --
> > 2.7.0
> > _______________________________________________
> > Spice-devel mailing list
> > Spice-devel at lists.freedesktop.org
> > https://lists.freedesktop.org/mailman/listinfo/spice-devel
> > 
> _______________________________________________
> Spice-devel mailing list
> Spice-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/spice-devel


More information about the Spice-devel mailing list