summaryrefslogtreecommitdiffstats
path: root/ext/libmms/gstmms.c
diff options
context:
space:
mode:
authorRonald S. Bultje <rbultje@ronald.bitfreak.net>2005-05-18 10:09:41 +0000
committerRonald S. Bultje <rbultje@ronald.bitfreak.net>2005-05-18 10:09:41 +0000
commit9ea4aec786b13cda203707f3521e6482f9d0004a (patch)
tree8db1e8fda135e76bd2b26cab5b205df2baf6379c /ext/libmms/gstmms.c
parent6512a163da4246606aeef7087cc73e326466ed5c (diff)
downloadgst-plugins-bad-9ea4aec786b13cda203707f3521e6482f9d0004a.tar.gz
gst-plugins-bad-9ea4aec786b13cda203707f3521e6482f9d0004a.tar.bz2
gst-plugins-bad-9ea4aec786b13cda203707f3521e6482f9d0004a.zip
ext/: Gcc4 fixes.
Original commit message from CVS: * ext/dvdnav/dvdnavsrc.c: (dvdnavsrc_make_clut_change_event): * ext/hermes/gsthermescolorspace.c: (gst_hermes_colorspace_structure_to_hermes_format): * ext/libmms/gstmms.c: (gst_mms_get): * ext/shout/gstshout.h: * ext/xvid/gstxvidenc.c: (gst_xvidenc_change_state): Gcc4 fixes.
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;