From 15c712c7c61c4edb211cd67bf3db173a6950c114 Mon Sep 17 00:00:00 2001 From: Andoni Morales Alastruey Date: Wed, 8 Aug 2012 15:07:49 +0200 Subject: [PATCH] oggdemux: add proper cast for print --- ext/ogg/gstoggdemux.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ext/ogg/gstoggdemux.c b/ext/ogg/gstoggdemux.c index 8a794d8ca9..32be77c851 100644 --- a/ext/ogg/gstoggdemux.c +++ b/ext/ogg/gstoggdemux.c @@ -565,7 +565,7 @@ gst_ogg_demux_chain_peer (GstOggPad * pad, ogg_packet * packet, if (granule < 0) { GST_ERROR_OBJECT (ogg, "granulepos %" G_GINT64_FORMAT " yielded granule %" G_GINT64_FORMAT, - packet->granulepos, granule); + (gint64) packet->granulepos, (gint64) granule); return GST_FLOW_ERROR; } pad->current_granule = granule; @@ -880,7 +880,7 @@ gst_ogg_pad_submit_packet (GstOggPad * pad, ogg_packet * packet) } else if (granule != -1) { GST_ERROR_OBJECT (ogg, "granulepos %" G_GINT64_FORMAT " yielded granule %" G_GINT64_FORMAT, - packet->granulepos, granule); + (gint64) packet->granulepos, (gint64) granule); return GST_FLOW_ERROR; } @@ -922,7 +922,7 @@ gst_ogg_pad_submit_packet (GstOggPad * pad, ogg_packet * packet) if (granule < 0) { GST_ERROR_OBJECT (ogg, "granulepos %" G_GINT64_FORMAT " yielded granule %" - G_GINT64_FORMAT, packet->granulepos, granule); + G_GINT64_FORMAT, (gint64) packet->granulepos, (gint64) granule); return GST_FLOW_ERROR; }