[vlc-commits] lib: renderer_discoverer: fix bad cast
Thomas Guillem
git at videolan.org
Wed Jul 26 16:32:51 CEST 2017
vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Wed Jul 26 16:18:27 2017 +0200| [9114d112f0a43aed2aa172d660434c71dd167e2e] | committer: Thomas Guillem
lib: renderer_discoverer: fix bad cast
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=9114d112f0a43aed2aa172d660434c71dd167e2e
---
lib/renderer_discoverer.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/lib/renderer_discoverer.c b/lib/renderer_discoverer.c
index ee5c80752b..c2adf26480 100644
--- a/lib/renderer_discoverer.c
+++ b/lib/renderer_discoverer.c
@@ -93,25 +93,25 @@ static void renderer_discovery_item_removed( vlc_renderer_discovery_t *rd,
const char *
libvlc_renderer_item_name( const libvlc_renderer_item_t *p_item )
{
- return vlc_renderer_item_name( (vlc_renderer_item_t *) p_item );
+ return vlc_renderer_item_name( (const vlc_renderer_item_t *) p_item );
}
const char *
libvlc_renderer_item_type( const libvlc_renderer_item_t *p_item )
{
- return vlc_renderer_item_type( (vlc_renderer_item_t *) p_item );
+ return vlc_renderer_item_type( (const vlc_renderer_item_t *) p_item );
}
const char *
libvlc_renderer_item_icon_uri( const libvlc_renderer_item_t *p_item )
{
- return vlc_renderer_item_icon_uri( (vlc_renderer_item_t *) p_item );
+ return vlc_renderer_item_icon_uri( (const vlc_renderer_item_t *) p_item );
}
int
libvlc_renderer_item_flags( const libvlc_renderer_item_t *p_item )
{
- return vlc_renderer_item_flags( (vlc_renderer_item_t *) p_item );
+ return vlc_renderer_item_flags( (const vlc_renderer_item_t *) p_item );
}
libvlc_renderer_discoverer_t *
More information about the vlc-commits
mailing list