gst/playback/gstqueue2.c: Fix build on MacOSX.
authorEdward Hervey <bilboed@bilboed.com>
Wed, 13 Jun 2007 18:20:57 +0000 (18:20 +0000)
committerEdward Hervey <bilboed@bilboed.com>
Wed, 13 Jun 2007 18:20:57 +0000 (18:20 +0000)
Original commit message from CVS:
* gst/playback/gstqueue2.c: (gst_queue_create_read):
Fix build on MacOSX.

ChangeLog
gst/playback/gstqueue2.c

index 622a670..ffc44f8 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2007-06-13  Edward Hervey  <edward@fluendo.com>
+
+       * gst/playback/gstqueue2.c: (gst_queue_create_read):
+       Fix build on MacOSX.
+
 2007-06-13  Wim Taymans  <wim@fluendo.com>
 
        * ext/ogg/gstoggdemux.c: (gst_ogg_pad_submit_packet),
index d512d80..a221e68 100644 (file)
@@ -823,7 +823,7 @@ gst_queue_create_read (GstQueue * queue, guint64 offset, guint length,
   /* this should not block */
   GST_LOG_OBJECT (queue, "Reading %d bytes", length);
   res = fread (GST_BUFFER_DATA (buf), 1, length, queue->temp_file);
-  GST_LOG_OBJECT (queue, "read %d bytes", res);
+  GST_LOG_OBJECT (queue, "read %" G_GSIZE_FORMAT " bytes", res);
 
   if (G_UNLIKELY (res == 0)) {
     /* check for errors or EOF */