Changed the bytes_written to a gint to avoid overflow...
authorWim Taymans <wim.taymans@gmail.com>
Tue, 19 Jun 2001 18:32:27 +0000 (18:32 +0000)
committerWim Taymans <wim.taymans@gmail.com>
Tue, 19 Jun 2001 18:32:27 +0000 (18:32 +0000)
Original commit message from CVS:
Changed the bytes_written to a gint to avoid overflow...

gst/elements/gstdisksink.c
plugins/elements/gstdisksink.c

index b47f783..efd626d 100644 (file)
@@ -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));
index b47f783..efd626d 100644 (file)
@@ -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));