Commit 91457387 authored by Felix Paul Kühne's avatar Felix Paul Kühne

macosx: fixed 2 long standing compilation warnings

parent efc40549
...@@ -64,7 +64,7 @@ ...@@ -64,7 +64,7 @@
- (NSMenu *)menuForEvent:(NSEvent *)o_event - (NSMenu *)menuForEvent:(NSEvent *)o_event
{ {
return( [[self delegate] menuForEvent: o_event] ); return( [(VLCPlaylist *)[self delegate] menuForEvent: o_event] );
} }
- (void)keyDown:(NSEvent *)o_event - (void)keyDown:(NSEvent *)o_event
...@@ -82,7 +82,7 @@ ...@@ -82,7 +82,7 @@
case NSDeleteFunctionKey: case NSDeleteFunctionKey:
case NSDeleteCharFunctionKey: case NSDeleteCharFunctionKey:
case NSBackspaceCharacter: case NSBackspaceCharacter:
[[self delegate] deleteItem:self]; [(VLCPlaylist *)[self delegate] deleteItem:self];
break; break;
case NSEnterCharacter: case NSEnterCharacter:
......
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