Commit 6fd7cb84 authored by David's avatar David

macosx: Silence warning about NSFontPanelModeMask

This should be able to be just replace the old NSUInteger, according
to docs.
parent dd1222e9
......@@ -1227,10 +1227,14 @@ static inline void save_string_list(intf_thread_t * p_intf, id object, const cha
[self osdSettingChanged:self];
// NSFontPanelModeMask is replacing NSUInteger, and should be backwards compatible
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wunguarded-availability-new"
- (NSFontPanelModeMask)validModesForFontPanel:(NSFontPanel *)fontPanel
return NSFontPanelFaceModeMask | NSFontPanelCollectionModeMask;
#pragma clang diagnostic pop
- (IBAction)inputSettingChanged:(id)sender
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