Commit 2368d549 authored by David Fuhrmann's avatar David Fuhrmann

macosx: fix two warnings

parent 80e730f1
...@@ -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