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...
This commit is contained in:
Wim Taymans 2001-06-19 18:32:27 +00:00
parent 1a06cd4731
commit 41381041f7
2 changed files with 2 additions and 2 deletions

View 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));

View 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));