From 47c35ee52e3f946abf50f2892f002a12d849dc83 Mon Sep 17 00:00:00 2001 From: Josep Torra Date: Fri, 30 Aug 2013 21:52:35 +0200 Subject: [PATCH] dashdemux: Fix warnings when building in OS X Snow Leopard gstdashdemux.c:1753: warning: format '%llu' expects type 'long long unsigned int', but argument 8 has type 'long unsigned int' gstdashdemux.c:2224: warning: format '%llu' expects type 'long long unsigned int', but argument 9 has type 'guint64' gstdashdemux.c:2224: warning: format '%llu' expects type 'long long unsigned int', but argument 10 has type 'guint64' --- ext/dash/gstdashdemux.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ext/dash/gstdashdemux.c b/ext/dash/gstdashdemux.c index 8d8ce691f3..25ee3307e1 100644 --- a/ext/dash/gstdashdemux.c +++ b/ext/dash/gstdashdemux.c @@ -1750,7 +1750,7 @@ gst_dash_demux_download_loop (GstDashDemux * demux) } } - GST_INFO_OBJECT (demux, "Internal buffering : %" PRIu64 " s", + GST_INFO_OBJECT (demux, "Internal buffering : %" G_GUINT64_FORMAT " s", gst_dash_demux_get_buffering_time (demux) / GST_SECOND); demux->client->update_failed_count = 0; @@ -2222,7 +2222,7 @@ gst_dash_demux_get_next_fragment (GstDashDemux * demux, brate = (size_buffer * 8) / ((double) diff / GST_SECOND); #endif GST_INFO_OBJECT (demux, - "Stream: %d Download rate = %" PRIu64 " Kbits/s (%" PRIu64 + "Stream: %d Download rate = %" G_GUINT64_FORMAT " Kbits/s (%" G_GUINT64_FORMAT " Ko in %.2f s)", selected_stream->index, brate / 1000, size_buffer / 1024, ((double) diff / GST_SECOND)); }