[vlc-commits] commit: Fix compilation ( Rémi Denis-Courmont )

git at videolan.org git at videolan.org
Tue Jun 8 22:05:37 CEST 2010


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Tue Jun  8 23:05:28 2010 +0300| [c38f2e5f94231ee2b1a37bf1654fcf9ea20101ff] | committer: Rémi Denis-Courmont 

Fix compilation

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

 modules/misc/lua/libs/variables.c |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/modules/misc/lua/libs/variables.c b/modules/misc/lua/libs/variables.c
index 211d461..820092f 100644
--- a/modules/misc/lua/libs/variables.c
+++ b/modules/misc/lua/libs/variables.c
@@ -81,16 +81,16 @@ int vlclua_pushvalue( lua_State *L, int i_type, vlc_value_t val )
     return 1;
 }
 
-static int vlclua_pushlist( lua_State *L, vlc_list_t *list )
+static int vlclua_pushlist( lua_State *L, vlc_list_t *p_list )
 {
-    int i_count = val.p_list->i_count;
+    int i_count = p_list->i_count;
 
     lua_createtable( L, i_count, 0 );
     for( int i = 0; i < i_count; i++ )
     {
         lua_pushinteger( L, i+1 );
-        if( !vlclua_pushvalue( L, val.p_list->pi_types[i],
-                               val.p_list->p_values[i] ) )
+        if( !vlclua_pushvalue( L, p_list->pi_types[i],
+                               p_list->p_values[i] ) )
              lua_pushnil( L );
         lua_settable( L, -3 );
     }



More information about the vlc-commits mailing list