]> git.sesse.net Git - vlc/commitdiff
module/gui/macosx/intf.m: Use a const char * in parameters where desired.
authorPierre d'Herbemont <pdherbemont@videolan.org>
Fri, 14 Dec 2007 16:24:28 +0000 (16:24 +0000)
committerPierre d'Herbemont <pdherbemont@videolan.org>
Fri, 14 Dec 2007 16:24:28 +0000 (16:24 +0000)
modules/gui/macosx/intf.h
modules/gui/macosx/intf.m

index dfb6fc735df3ac0e578de238891b80f113fcad4d..b28b4f24ef036029269f9308b112f988a3785522 100644 (file)
@@ -310,7 +310,7 @@ struct intf_sys_t
 - (id)getVoutMenu;
 - (id)getEyeTVController;
 - (void)applicationWillTerminate:(NSNotification *)notification;
-- (NSString *)localizedString:(char *)psz;
+- (NSString *)localizedString:(const char *)psz;
 - (char *)delocalizeString:(NSString *)psz;
 - (NSString *)wrapString: (NSString *)o_in_string toWidth: (int)i_width;
 - (BOOL)hasDefinedShortcutKey:(NSEvent *)o_event;
index 212350b294cad571d7157c01945d9ef037b55302..2d11e153f6bcb1e0a1b638487dfc5fc13608f7e5 100644 (file)
@@ -751,7 +751,7 @@ static VLCMain *_o_sharedMainInstance = nil;
     return( TRUE );
 }
 
-- (NSString *)localizedString:(char *)psz
+- (NSString *)localizedString:(const char *)psz
 {
     NSString * o_str = nil;