]> git.sesse.net Git - vlc/blobdiff - modules/gui/macosx/prefs.m
* added numerous casts to silence compilation warnings introduced with const chars...
[vlc] / modules / gui / macosx / prefs.m
index d09d4a0a377c4b736ae9cd1f94bff4d9f149b747..90d4ce3e37aaaf1d31bda1996d26193c9e5f9c29 100644 (file)
@@ -442,11 +442,11 @@ static VLCTreeItem *o_root_item = nil;
 
                 [p_subcategory_item->o_children addObject:[[VLCTreeItem alloc]
                     initWithName:[[VLCMain sharedInstance]
-                        localizedString: p_module->psz_shortname ?
-                        p_module->psz_shortname : p_module->psz_object_name ]
+                        localizedString: (char *)p_module->psz_shortname ?
+                        (char *)p_module->psz_shortname : (char *)p_module->psz_object_name ]
                     withTitle:[[VLCMain sharedInstance]
-                        localizedString: p_module->psz_longname ?
-                        p_module->psz_longname : p_module->psz_object_name ]
+                        localizedString: (char *)p_module->psz_longname ?
+                        (char *)p_module->psz_longname : (char *)p_module->psz_object_name ]
                     withHelp: @""
                     ID: p_module->i_object_id
                     parent:p_subcategory_item