Commit bdbe309a authored by David Fuhrmann's avatar David Fuhrmann

macosx: fix two warnings

(cherry picked from commit 2368d549)
Signed-off-by: default avatarDavid Fuhrmann <david.fuhrmann@googlemail.com>
parent 337eb191
...@@ -433,7 +433,7 @@ error: ...@@ -433,7 +433,7 @@ error:
o_value = [o_item_value copy]; o_value = [o_item_value copy];
i_object_id = i_id; i_object_id = i_id;
o_parent = o_parent_item; o_parent = o_parent_item;
p_item = [[[VLCMain sharedInstance] info] item]; p_item = [(VLCInfo *)[[VLCMain sharedInstance] info] item];
o_children = nil; o_children = nil;
} }
return( self ); return( self );
...@@ -512,7 +512,7 @@ error: ...@@ -512,7 +512,7 @@ error:
- (void)refresh - (void)refresh
{ {
input_item_t * oldItem = p_item; 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 ); if( oldItem && oldItem != p_item ) vlc_gc_decref( oldItem );
[o_children release]; [o_children release];
......
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