]> git.sesse.net Git - vlc/blobdiff - modules/misc/lua/libs/input.c
lua: cosmetics (use the exact pointer typer not just void*).
[vlc] / modules / misc / lua / libs / input.c
index 6e0796d63f4f2b15104ae5fe9d9bd5f4a6aad258..1f38301141da8101ac8ced6e4f9f5b3eed1643a6 100644 (file)
@@ -246,7 +246,7 @@ static int vlclua_input_item_delete( lua_State *L )
 static int vlclua_input_item_get( lua_State *L, input_item_t *p_item )
 {
     vlc_gc_incref( p_item );
-    input_item_t **pp = lua_newuserdata( L, sizeof( void* ) );
+    input_item_t **pp = lua_newuserdata( L, sizeof( input_item_t* ) );
     *pp = p_item;
 
     if( luaL_newmetatable( L, "input_item" ) )