[vlc-commits] macosx: remove unneeded cast

David Fuhrmann git at videolan.org
Sun Jul 6 18:46:10 CEST 2014


vlc | branch: master | David Fuhrmann <dfuhrmann at videolan.org> | Sun Jul  6 18:40:40 2014 +0200| [d47a21eb18b2d87ff3ebb3fbb8566aec729e4582] | committer: David Fuhrmann

macosx: remove unneeded cast

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

 modules/gui/macosx/AudioEffects.m |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/gui/macosx/AudioEffects.m b/modules/gui/macosx/AudioEffects.m
index 7e24daf..f737de0 100644
--- a/modules/gui/macosx/AudioEffects.m
+++ b/modules/gui/macosx/AudioEffects.m
@@ -305,7 +305,7 @@ static VLCAudioEffects *_o_sharedInstance = nil;
             tempArray = [tempString componentsSeparatedByString:@":"];
             count = [tempArray count];
             for (NSUInteger x = 0; x < count; x++)
-                playlist_EnableAudioFilter(p_playlist, (char *)[[tempArray objectAtIndex:x] UTF8String], true);
+                playlist_EnableAudioFilter(p_playlist, [[tempArray objectAtIndex:x] UTF8String], true);
         }
     }
     config_PutPsz(p_intf,"audio-filter",[tempString UTF8String]);



More information about the vlc-commits mailing list