[vlc-commits] macosx: Fix warning about constness of vlc_renderer_item_t
David Fuhrmann
git at videolan.org
Sun Aug 27 20:53:22 CEST 2017
vlc | branch: master | David Fuhrmann <dfuhrmann at videolan.org> | Sun Aug 13 11:48:40 2017 +0200| [eb176fac98610824eb52bd3d302091d616f643b1] | committer: David Fuhrmann
macosx: Fix warning about constness of vlc_renderer_item_t
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=eb176fac98610824eb52bd3d302091d616f643b1
---
modules/gui/macosx/VLCRendererDiscovery.m | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/modules/gui/macosx/VLCRendererDiscovery.m b/modules/gui/macosx/VLCRendererDiscovery.m
index 8270adc002..ff00f12609 100644
--- a/modules/gui/macosx/VLCRendererDiscovery.m
+++ b/modules/gui/macosx/VLCRendererDiscovery.m
@@ -34,7 +34,7 @@
vlc_renderer_discovery_t *p_rd;
}
-- (void)handleItemAdded:(const vlc_renderer_item_t *)item;
+- (void)handleItemAdded:(vlc_renderer_item_t *)item;
- (void)handleItemRemoved:(const vlc_renderer_item_t *)item;
@end
@@ -106,7 +106,7 @@ static void renderer_event_item_removed(vlc_renderer_discovery_t *rd,
}
}
-- (void)handleItemAdded:(const vlc_renderer_item_t *)base_item
+- (void)handleItemAdded:(vlc_renderer_item_t *)base_item
{
VLCRendererItem *item = [[VLCRendererItem alloc] initWithRendererItem:base_item];
[_rendererItems addObject:item];
More information about the vlc-commits
mailing list