vlc | branch: master | Rafaël Carré <[email protected]> | Sun Jan 29 00:13:55 2012 -0500| [7df0345e7f8917ae534592caea34eba1bef4c26e] | committer: Rafaël Carré
avformat: shut up warning (unsigned char -> uint8_t) > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=7df0345e7f8917ae534592caea34eba1bef4c26e --- modules/demux/avformat/demux.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/modules/demux/avformat/demux.c b/modules/demux/avformat/demux.c index b8d8331..cf3ef3d 100644 --- a/modules/demux/avformat/demux.c +++ b/modules/demux/avformat/demux.c @@ -125,7 +125,7 @@ int OpenDemux( vlc_object_t *p_this ) msg_Dbg( p_demux, "trying url: %s", psz_url ); /* Init Probe data */ pd.filename = psz_url; - if( ( pd.buf_size = stream_Peek( p_demux->s, &pd.buf, 2048 + 213 ) ) <= 0 ) + if( ( pd.buf_size = stream_Peek( p_demux->s, (const uint8_t**)&pd.buf, 2048 + 213 ) ) <= 0 ) { free( psz_url ); msg_Warn( p_demux, "cannot peek" ); _______________________________________________ vlc-commits mailing list [email protected] http://mailman.videolan.org/listinfo/vlc-commits
