[vlc-commits] Lua: kill a warning

Jean-Baptiste Kempf git at videolan.org
Sat Sep 15 15:19:05 CEST 2012


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Sat Sep 15 15:17:59 2012 +0200| [5d811d39e031b977d74825055f2c50c5280198aa] | committer: Jean-Baptiste Kempf

Lua: kill a warning

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

 modules/lua/intf.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/lua/intf.c b/modules/lua/intf.c
index 5e97ff8..b66a612 100644
--- a/modules/lua/intf.c
+++ b/modules/lua/intf.c
@@ -89,7 +89,7 @@ static char *MakeConfig( intf_thread_t *p_intf, const char *name )
         {
             vlc_url_t url;
             vlc_UrlParse( &url, psz_host, 0 );
-            int i_port = var_InheritInteger( p_intf, "telnet-port" );
+            unsigned i_port = var_InheritInteger( p_intf, "telnet-port" );
             if ( url.i_port != 0 )
             {
                 if ( i_port == TELNETPORT_DEFAULT )



More information about the vlc-commits mailing list