Commit 03a0c3a2 authored by Rafaël Carré's avatar Rafaël Carré

remove warnings

parent def9c8ca
...@@ -2185,7 +2185,7 @@ static bool Control( input_thread_t *p_input, ...@@ -2185,7 +2185,7 @@ static bool Control( input_thread_t *p_input,
p_input->p->input.p_stream ) p_input->p->input.p_stream )
{ {
const uint64_t i_size = stream_Size( p_input->p->input.p_stream ); const uint64_t i_size = stream_Size( p_input->p->input.p_stream );
if( i_size > 0 && bookmark.i_byte_offset <= i_size ) if( i_size > 0 && (uint64_t)bookmark.i_byte_offset <= i_size )
{ {
val.f_float = (double)bookmark.i_byte_offset / i_size; val.f_float = (double)bookmark.i_byte_offset / i_size;
b_force_update = Control( p_input, INPUT_CONTROL_SET_POSITION, val ); b_force_update = Control( p_input, INPUT_CONTROL_SET_POSITION, val );
......
...@@ -539,6 +539,9 @@ static void VoutDisplayEventMouse(vout_display_t *vd, int event, va_list args) ...@@ -539,6 +539,9 @@ static void VoutDisplayEventMouse(vout_display_t *vd, int event, va_list args)
vlc_mutex_unlock(&osys->lock); vlc_mutex_unlock(&osys->lock);
} }
#ifdef __GNUC__
static void *VoutDisplayEventKeyDispatch(void *data) __attribute__((noreturn));
#endif
static void *VoutDisplayEventKeyDispatch(void *data) static void *VoutDisplayEventKeyDispatch(void *data)
{ {
vout_display_owner_sys_t *osys = data; vout_display_owner_sys_t *osys = data;
...@@ -1470,6 +1473,7 @@ static void SplitterDisplay(vout_display_t *vd, ...@@ -1470,6 +1473,7 @@ static void SplitterDisplay(vout_display_t *vd,
} }
static int SplitterControl(vout_display_t *vd, int query, va_list args) static int SplitterControl(vout_display_t *vd, int query, va_list args)
{ {
(void)vd; (void)query; (void)args;
return VLC_EGENERIC; return VLC_EGENERIC;
} }
static void SplitterManage(vout_display_t *vd) static void SplitterManage(vout_display_t *vd)
......
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