From ee3f9d84ec03453bb3da323c40612e95b3fc0cca Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Thu, 7 Jun 2007 09:11:27 +0000 Subject: [PATCH] gst/playback/gstqueue2.c: Fix compilation. Original commit message from CVS: * gst/playback/gstqueue2.c: (gst_queue_get_range): Fix compilation. --- gst/playback/gstqueue2.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gst/playback/gstqueue2.c b/gst/playback/gstqueue2.c index bd0da0acc2..e45295f7f2 100644 --- a/gst/playback/gstqueue2.c +++ b/gst/playback/gstqueue2.c @@ -208,7 +208,7 @@ struct _GstQueueClass GST_CAT_LOG_OBJECT (queue_dataflow, queue, \ "(%s:%s) " msg ": %u of %u buffers, %u of %u " \ "bytes, %" G_GUINT64_FORMAT " of %" G_GUINT64_FORMAT \ - " ns, %u items", \ + " ns, %"G_GUINT64_FORMAT" items", \ GST_DEBUG_PAD_NAME (pad), \ queue->cur_level.buffers, \ queue->max_level.buffers, \ @@ -216,9 +216,9 @@ struct _GstQueueClass queue->max_level.bytes, \ queue->cur_level.time, \ queue->max_level.time, \ - QUEUE_IS_USING_TEMP_FILE(queue) ? \ + (guint64) (QUEUE_IS_USING_TEMP_FILE(queue) ? \ queue->writing_pos - queue->reading_pos : \ - queue->queue->length) + queue->queue->length)) #define GST_QUEUE_MUTEX_LOCK(q) G_STMT_START { \ g_mutex_lock (q->qlock); \