Actually, size should be a guint (because GST_BUFFER_SIZE(buffer) is a guint too)

Original commit message from CVS:
Actually, size should be a guint (because GST_BUFFER_SIZE(buffer) is a guint too)
This commit is contained in:
Ronald S. Bultje 2003-06-07 09:37:16 +00:00
parent 63bc38c519
commit e3cfc0c701
2 changed files with 2 additions and 2 deletions

View file

@ -380,7 +380,7 @@ gst_filesink_chain (GstPad *pad, GstBuffer *buf)
if (GST_FLAG_IS_SET (filesink, GST_FILESINK_OPEN))
{
size_t bytes_written = 0;
guint bytes_written = 0;
do {
size_t wrote = fwrite (GST_BUFFER_DATA (buf) + bytes_written, 1,
GST_BUFFER_SIZE (buf) - bytes_written,

View file

@ -380,7 +380,7 @@ gst_filesink_chain (GstPad *pad, GstBuffer *buf)
if (GST_FLAG_IS_SET (filesink, GST_FILESINK_OPEN))
{
size_t bytes_written = 0;
guint bytes_written = 0;
do {
size_t wrote = fwrite (GST_BUFFER_DATA (buf) + bytes_written, 1,
GST_BUFFER_SIZE (buf) - bytes_written,