From 41381041f7ddd6a5212895e40c1d88f0c6cfad0b Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Tue, 19 Jun 2001 18:32:27 +0000 Subject: [PATCH] Changed the bytes_written to a gint to avoid overflow... Original commit message from CVS: Changed the bytes_written to a gint to avoid overflow... --- gst/elements/gstdisksink.c | 2 +- plugins/elements/gstdisksink.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gst/elements/gstdisksink.c b/gst/elements/gstdisksink.c index b47f78337f..efd626d2ff 100644 --- a/gst/elements/gstdisksink.c +++ b/gst/elements/gstdisksink.c @@ -218,7 +218,7 @@ static void gst_disksink_chain (GstPad *pad, GstBuffer *buf) { GstDiskSink *disksink; - guint16 bytes_written = 0; + gint bytes_written = 0; g_return_if_fail (pad != NULL); g_return_if_fail (GST_IS_PAD (pad)); diff --git a/plugins/elements/gstdisksink.c b/plugins/elements/gstdisksink.c index b47f78337f..efd626d2ff 100644 --- a/plugins/elements/gstdisksink.c +++ b/plugins/elements/gstdisksink.c @@ -218,7 +218,7 @@ static void gst_disksink_chain (GstPad *pad, GstBuffer *buf) { GstDiskSink *disksink; - guint16 bytes_written = 0; + gint bytes_written = 0; g_return_if_fail (pad != NULL); g_return_if_fail (GST_IS_PAD (pad));