From f24b0e54a0f415241a009918724da71187b95503 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Fri, 3 Nov 2006 15:04:40 +0000 Subject: 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. --- plugins/elements/gstfdsrc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins') 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) -- cgit v1.2.3