Commit 69258670 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

InheritValue: fix type given to var_GetChecked()

parent bca54820
......@@ -1403,6 +1403,7 @@ static void CheckValue ( variable_t *p_var, vlc_value_t *p_val )
static int InheritValue( vlc_object_t *p_this, const char *psz_name,
vlc_value_t *p_val, int i_type )
{
i_type &= VLC_VAR_CLASS;
for( vlc_object_t *obj = p_this; obj != NULL; obj = obj->p_parent )
if( var_GetChecked( p_this, psz_name, i_type, p_val ) == VLC_SUCCESS )
return VLC_SUCCESS;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment