[vlc-commits] libvlc/media_player: fix warnings
Thomas Guillem
git at videolan.org
Thu Oct 6 14:30:16 CEST 2016
vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Thu Oct 6 14:22:49 2016 +0200| [365a0496d94bb3332dd1b6fba07da28435441a6c] | committer: Thomas Guillem
libvlc/media_player: fix warnings
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=365a0496d94bb3332dd1b6fba07da28435441a6c
---
lib/media_player.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/lib/media_player.c b/lib/media_player.c
index 9a8f73a..7a38582 100644
--- a/lib/media_player.c
+++ b/lib/media_player.c
@@ -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,
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_LEFT, INPUT_NAV_RIGHT, INPUT_NAV_POPUP,
@@ -1928,7 +1928,8 @@ int libvlc_media_player_add_slave( libvlc_media_player_t *p_mi,
}
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 );
return i_ret == VLC_SUCCESS ? 0 : -1;
More information about the vlc-commits
mailing list