summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorWim Taymans <wim.taymans@gmail.com>2006-11-03 15:04:40 +0000
committerWim Taymans <wim.taymans@gmail.com>2006-11-03 15:04:40 +0000
commitf24b0e54a0f415241a009918724da71187b95503 (patch)
tree1d2f61c5c6edaedf7e63a3eb3093c240c46fec51 /plugins
parent6e0416787d6053d5a184baf6b93bc03adc35ff85 (diff)
plugins/elements/gstfdsrc.c: Get the type and printf conversion specifiers right.
Original commit message from CVS: * plugins/elements/gstfdsrc.c: (gst_fd_src_create): Get the type and printf conversion specifiers right.
Diffstat (limited to 'plugins')
-rw-r--r--plugins/elements/gstfdsrc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/elements/gstfdsrc.c b/plugins/elements/gstfdsrc.c
index c1f90c025..fb28c779f 100644
--- a/plugins/elements/gstfdsrc.c
+++ b/plugins/elements/gstfdsrc.c
@@ -321,7 +321,7 @@ gst_fd_src_create (GstPushSrc * psrc, GstBuffer ** outbuf)
{
GstFdSrc *src;
GstBuffer *buf;
- glong readbytes;
+ gssize readbytes;
guint blocksize;
#ifndef HAVE_WIN32
@@ -369,7 +369,7 @@ gst_fd_src_create (GstPushSrc * psrc, GstBuffer ** outbuf)
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)