Fixed compiling Sparkle with the 10.9 SDK

CQTexperiment
Chris Moeller 2013-10-22 18:41:32 -07:00
parent 591730eea3
commit 9eb5e28cce
1 changed files with 2 additions and 0 deletions

View File

@ -199,6 +199,8 @@
}
}
// XXX
#pragma GCC diagnostic ignored "-Wformat-security"
- (void)abortUpdateWithError:(NSError *)error
{
NSAlert *alert = [NSAlert alertWithMessageText:SULocalizedString(@"Update Error!", nil) defaultButton:SULocalizedString(@"Cancel Update", nil) alternateButton:nil otherButton:nil informativeTextWithFormat:[error localizedDescription]];