gst/playback/gstqueue2.c: Fix build on MacOSX.

Original commit message from CVS:
* gst/playback/gstqueue2.c: (gst_queue_create_read):
Fix build on MacOSX.
This commit is contained in:
Edward Hervey 2007-06-13 18:20:57 +00:00 committed by Sebastian Dröge
parent c26bff1afc
commit 8fe34426cb

View 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 */