From 9ea4aec786b13cda203707f3521e6482f9d0004a Mon Sep 17 00:00:00 2001 From: "Ronald S. Bultje" Date: Wed, 18 May 2005 10:09:41 +0000 Subject: 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. --- ext/libmms/gstmms.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'ext/libmms/gstmms.c') 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; -- cgit v1.2.1