Commit ebda5354 authored by Eric Petit's avatar Eric Petit

Build fix

parent 460a7506
...@@ -290,8 +290,9 @@ VLC_EXPORT( counter_t*, __stats_CounterGet, (vlc_object_t*, int, unsigned int ) ...@@ -290,8 +290,9 @@ VLC_EXPORT( counter_t*, __stats_CounterGet, (vlc_object_t*, int, unsigned int )
static inline int __stats_GetInteger( vlc_object_t *p_obj, int i_id, static inline int __stats_GetInteger( vlc_object_t *p_obj, int i_id,
unsigned int i_counter, int *value ) unsigned int i_counter, int *value )
{ {
int i_ret;
vlc_value_t val; val.i_int = 0; vlc_value_t val; val.i_int = 0;
int i_ret = __stats_Get( p_obj, i_id, i_counter, &val ); i_ret = __stats_Get( p_obj, i_id, i_counter, &val );
*value = val.i_int; *value = val.i_int;
return i_ret; return i_ret;
} }
...@@ -300,8 +301,9 @@ static inline int __stats_GetInteger( vlc_object_t *p_obj, int i_id, ...@@ -300,8 +301,9 @@ static inline int __stats_GetInteger( vlc_object_t *p_obj, int i_id,
static inline int __stats_GetFloat( vlc_object_t *p_obj, int i_id, static inline int __stats_GetFloat( vlc_object_t *p_obj, int i_id,
unsigned int i_counter, float *value ) unsigned int i_counter, float *value )
{ {
int i_ret;
vlc_value_t val;val.f_float = 0.0; vlc_value_t val;val.f_float = 0.0;
int i_ret = __stats_Get( p_obj, i_id, i_counter, &val ); i_ret = __stats_Get( p_obj, i_id, i_counter, &val );
*value = val.f_float; *value = val.f_float;
return i_ret; return i_ret;
} }
......
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