Original commit message from CVS:
* plugins/elements/gstfdsrc.c: (gst_fd_src_create):
Get the type and printf conversion specifiers right.
2006-11-03 Wim Taymans <wim@fluendo.com>
+ * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
+ Get the type and printf conversion specifiers right.
+
+2006-11-03 Wim Taymans <wim@fluendo.com>
+
Patch by: Mark Nauwelaerts <manauw at skynet dot be>
* gst/gstpad.c: (gst_pad_init), (pre_activate),
{
GstFdSrc *src;
GstBuffer *buf;
- glong readbytes;
+ gssize readbytes;
guint blocksize;
#ifndef HAVE_WIN32
do {
readbytes = read (src->fd, GST_BUFFER_DATA (buf), blocksize);
- GST_LOG_OBJECT (src, "read %d", readbytes);
+ GST_LOG_OBJECT (src, "read %" G_GSSIZE_FORMAT, readbytes);
} while (readbytes == -1 && errno == EINTR); /* retry if interrupted */
if (readbytes < 0)