Commit 365a0496 authored by Thomas Guillem's avatar Thomas Guillem

libvlc/media_player: fix warnings

parent f71484fb
...@@ -1744,7 +1744,7 @@ int libvlc_media_player_is_seekable( libvlc_media_player_t *p_mi ) ...@@ -1744,7 +1744,7 @@ int libvlc_media_player_is_seekable( libvlc_media_player_t *p_mi )
void libvlc_media_player_navigate( libvlc_media_player_t* p_mi, void libvlc_media_player_navigate( libvlc_media_player_t* p_mi,
unsigned navigate ) unsigned navigate )
{ {
static const vlc_action_t map[] = static const enum input_query_e map[] =
{ {
INPUT_NAV_ACTIVATE, INPUT_NAV_UP, INPUT_NAV_DOWN, INPUT_NAV_ACTIVATE, INPUT_NAV_UP, INPUT_NAV_DOWN,
INPUT_NAV_LEFT, INPUT_NAV_RIGHT, INPUT_NAV_POPUP, INPUT_NAV_LEFT, INPUT_NAV_RIGHT, INPUT_NAV_POPUP,
...@@ -1928,7 +1928,8 @@ int libvlc_media_player_add_slave( libvlc_media_player_t *p_mi, ...@@ -1928,7 +1928,8 @@ int libvlc_media_player_add_slave( libvlc_media_player_t *p_mi,
} }
else else
{ {
int i_ret = input_AddSlave( p_input_thread, i_type, psz_uri, b_select ); int i_ret = input_AddSlave( p_input_thread, (enum slave_type) i_type,
psz_uri, b_select );
vlc_object_release( p_input_thread ); vlc_object_release( p_input_thread );
return i_ret == VLC_SUCCESS ? 0 : -1; return i_ret == VLC_SUCCESS ? 0 : -1;
......
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