summaryrefslogtreecommitdiffstats
path: root/ext/libmms/gstmms.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/libmms/gstmms.c')
-rw-r--r--ext/libmms/gstmms.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/ext/libmms/gstmms.c b/ext/libmms/gstmms.c
index 044235af..1f355257 100644
--- a/ext/libmms/gstmms.c
+++ b/ext/libmms/gstmms.c
@@ -265,7 +265,8 @@ gst_mms_get (GstPad * pad)
GST_BUFFER_SIZE (buf) = 0;
GST_DEBUG ("reading %d bytes", mmssrc->blocksize);
- result = mms_read (NULL, mmssrc->connection, data, mmssrc->blocksize);
+ result =
+ mms_read (NULL, mmssrc->connection, (char *) data, mmssrc->blocksize);
GST_BUFFER_OFFSET (buf) = mms_get_current_pos (mmssrc->connection) - result;
GST_BUFFER_SIZE (buf) = result;