From 99db7845c7d61ac7ad2b8e236c06bd6e013dfcf4 Mon Sep 17 00:00:00 2001 From: Josep Torra Date: Fri, 9 Oct 2009 14:20:47 +0200 Subject: [PATCH] audiorate: fix warning in macosx --- gst/audiorate/gstaudiorate.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/gst/audiorate/gstaudiorate.c b/gst/audiorate/gstaudiorate.c index 7e24467ac3..af3ac71cf8 100644 --- a/gst/audiorate/gstaudiorate.c +++ b/gst/audiorate/gstaudiorate.c @@ -533,7 +533,8 @@ gst_audio_rate_chain (GstPad * pad, GstBuffer * buf) GST_LOG_OBJECT (audiorate, "in_time:%" GST_TIME_FORMAT ", run_time:%" GST_TIME_FORMAT ", in_duration:%" GST_TIME_FORMAT - ", in_size:%u, in_offset:%lld, in_offset_end:%lld" ", ->next_offset:%lld", + ", in_size:%u, in_offset:%" G_GUINT64_FORMAT ", in_offset_end:%" + G_GUINT64_FORMAT ", ->next_offset:%" G_GUINT64_FORMAT, GST_TIME_ARGS (in_time), GST_TIME_ARGS (run_time), GST_TIME_ARGS (in_duration), in_size, in_offset, in_offset_end, audiorate->next_offset); @@ -559,7 +560,8 @@ gst_audio_rate_chain (GstPad * pad, GstBuffer * buf) /* FIXME, 0 might not be the silence byte for the negotiated format. */ memset (GST_BUFFER_DATA (fill), 0, fillsize); - GST_DEBUG_OBJECT (audiorate, "inserting %lld samples", cursamples); + GST_DEBUG_OBJECT (audiorate, "inserting %" G_GUINT64_FORMAT " samples", + cursamples); GST_BUFFER_OFFSET (fill) = audiorate->next_offset; audiorate->next_offset += cursamples; @@ -601,7 +603,8 @@ gst_audio_rate_chain (GstPad * pad, GstBuffer * buf) audiorate->drop += drop; - GST_DEBUG_OBJECT (audiorate, "dropping %lld samples", drop); + GST_DEBUG_OBJECT (audiorate, "dropping %" G_GUINT64_FORMAT " samples", + drop); /* we can drop the buffer completely */ gst_buffer_unref (buf);