[vlc-commits] macosx: fix two warnings

David Fuhrmann git at videolan.org
Sat Mar 17 17:48:18 CET 2012


vlc/vlc-2.0 | branch: master | David Fuhrmann <david.fuhrmann at googlemail.com> | Sat Mar 17 17:11:55 2012 +0100| [bdbe309aa2189b8f72aaea501f06a7738ac444c0] | committer: David Fuhrmann

macosx: fix two warnings
(cherry picked from commit 2368d54953fc4e7731d29ae8749c5ffb3ecb03b8)

Signed-off-by: David Fuhrmann <david.fuhrmann at googlemail.com>

> http://git.videolan.org/gitweb.cgi/vlc/vlc-2.0.git/?a=commit;h=bdbe309aa2189b8f72aaea501f06a7738ac444c0
---

 modules/gui/macosx/playlistinfo.m |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/gui/macosx/playlistinfo.m b/modules/gui/macosx/playlistinfo.m
index de5f0ff..00612e3 100644
--- a/modules/gui/macosx/playlistinfo.m
+++ b/modules/gui/macosx/playlistinfo.m
@@ -433,7 +433,7 @@ error:
         o_value = [o_item_value copy];
         i_object_id = i_id;
         o_parent = o_parent_item;
-        p_item = [[[VLCMain sharedInstance] info] item];
+        p_item = [(VLCInfo *)[[VLCMain sharedInstance] info] item];
         o_children = nil;
     }
     return( self );
@@ -512,7 +512,7 @@ error:
 - (void)refresh
 {
     input_item_t * oldItem = p_item;
-    p_item = [[[VLCMain sharedInstance] info] item];
+    p_item = [(VLCInfo *)[[VLCMain sharedInstance] info] item];
     if( oldItem && oldItem != p_item ) vlc_gc_decref( oldItem );
 
     [o_children release];



More information about the vlc-commits mailing list