[vlc-devel] commit: ASF: kill a warning (Jean-Baptiste Kempf )

git version control git at videolan.org
Wed Aug 19 23:43:23 CEST 2009


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Wed Aug 19 23:28:01 2009 +0200| [59f25dc05b3834967beaca4773012abf82016dd8] | committer: Jean-Baptiste Kempf 

ASF: kill a warning

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=59f25dc05b3834967beaca4773012abf82016dd8
---

 modules/demux/asf/libasf.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/demux/asf/libasf.c b/modules/demux/asf/libasf.c
index beae88c..6b5e07b 100644
--- a/modules/demux/asf/libasf.c
+++ b/modules/demux/asf/libasf.c
@@ -434,7 +434,7 @@ static int ASF_ReadObject_metadata( stream_t *s, asf_object_t *p_obj )
         /* Read data */
         if( p_record->i_type == ASF_METADATA_TYPE_STRING )
         {
-            p_record->p_data = ASF_READS( i_data );
+            p_record->p_data = (uint8_t *)ASF_READS( i_data );
             p_record->i_data = i_data/2; /* FIXME Is that needed ? */
         }
         else if( p_record->i_type == ASF_METADATA_TYPE_BYTE )




More information about the vlc-devel mailing list