From 6cc8ef3018beaae99bb5eb07d124c1efd85aa8c5 Mon Sep 17 00:00:00 2001 From: Jan Schmidt Date: Wed, 17 Sep 2008 13:59:21 +0000 Subject: Fix compiler warnings on OS/X Original commit message from CVS: * ext/jack/gstjackaudiosink.c: (jack_process_cb): * gst/rtpmanager/rtpjitterbuffer.c: (calculate_skew): Fix compiler warnings on OS/X --- ChangeLog | 6 ++++++ ext/jack/gstjackaudiosink.c | 2 +- gst/rtpmanager/rtpjitterbuffer.c | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 06f654da..09592c2e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2008-09-17 Jan Schmidt + + * ext/jack/gstjackaudiosink.c: (jack_process_cb): + * gst/rtpmanager/rtpjitterbuffer.c: (calculate_skew): + Fix compiler warnings on OS/X + 2008-09-17 Zaheer Abbas Merali patch by: Michael Krufky diff --git a/ext/jack/gstjackaudiosink.c b/ext/jack/gstjackaudiosink.c index ec257deb..265ec68c 100644 --- a/ext/jack/gstjackaudiosink.c +++ b/ext/jack/gstjackaudiosink.c @@ -243,7 +243,7 @@ jack_process_cb (jack_nframes_t nframes, void *arg) wrong_size: { GST_ERROR_OBJECT (sink, "nbytes (%d) != flen (%d)", - nframes * sizeof (sample_t), flen); + (gint) (nframes * sizeof (sample_t)), flen); return 1; } } diff --git a/gst/rtpmanager/rtpjitterbuffer.c b/gst/rtpmanager/rtpjitterbuffer.c index 050adef0..697c54c4 100644 --- a/gst/rtpmanager/rtpjitterbuffer.c +++ b/gst/rtpmanager/rtpjitterbuffer.c @@ -231,7 +231,7 @@ calculate_skew (RTPJitterBuffer * jbuf, guint32 rtptime, GstClockTime time, * its timestamps. */ if (ABS (delta - jbuf->skew) > GST_SECOND) { GST_DEBUG ("delta %" GST_TIME_FORMAT " too big, reset skew", - delta - jbuf->skew); + GST_TIME_ARGS (delta - jbuf->skew)); jbuf->base_time = time; jbuf->base_rtptime = gstrtptime; jbuf->base_extrtp = ext_rtptime; -- cgit v1.2.1