[vlc-commits] DVB access: kill 3 warnings
Jean-Baptiste Kempf
git at videolan.org
Thu Mar 3 23:07:02 CET 2011
vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Thu Mar 3 23:06:01 2011 +0100| [8623562dbdf0fc180d7a059d68fe6da4ba40496c] | committer: Jean-Baptiste Kempf
DVB access: kill 3 warnings
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=8623562dbdf0fc180d7a059d68fe6da4ba40496c
---
modules/access/dvb/linux_dvb.c | 2 +-
modules/access/dvb/scan.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/modules/access/dvb/linux_dvb.c b/modules/access/dvb/linux_dvb.c
index d10680d..02b3456 100644
--- a/modules/access/dvb/linux_dvb.c
+++ b/modules/access/dvb/linux_dvb.c
@@ -1042,7 +1042,7 @@ static int FrontendSetQAM( access_t *p_access )
access_sys_t *p_sys = p_access->p_sys;
frontend_t *p_frontend = p_sys->p_frontend;
struct dvb_frontend_parameters fep;
- int i_val;
+ unsigned int i_val;
/* Prepare the fep structure */
diff --git a/modules/access/dvb/scan.c b/modules/access/dvb/scan.c
index e01e416..50fef73 100644
--- a/modules/access/dvb/scan.c
+++ b/modules/access/dvb/scan.c
@@ -786,7 +786,7 @@ void scan_session_Clean( scan_t *p_scan, scan_session_t *p_session )
if( s )
{
if( !s->psz_name )
- s->psz_name = dvbsi_to_utf8( pD->i_service_name, pD->i_service_name_length );
+ s->psz_name = dvbsi_to_utf8( (const char *)pD->i_service_name, pD->i_service_name_length );
if( s->type == SERVICE_UNKNOWN )
{
More information about the vlc-commits
mailing list