mirror of
https://github.com/sparkle-project/Sparkle
synced 2026-11-24 04:38:16 +00:00
Let the compiler know that SULog is a format function.
This allows it to warn properly on malformed format strings.
This commit is contained in:
1 parent
e2854d3a29
commit
135bcb483e
2 files changed
+2
-2
No files matched your search
@@ -80,7 +80,7 @@
|
||||
if (taskResult != 0)
|
||||
{
|
||||
NSString* resultStr = output ? [[[NSString alloc] initWithData: output encoding: NSUTF8StringEncoding] autorelease] : nil;
|
||||
SULog( @"hdiutil failed with code: %d data: <<%@>>", taskResult, resultStr );
|
||||
SULog( @"hdiutil failed with code: %ld data: <<%@>>", (long)taskResult, resultStr );
|
||||
goto reportError;
|
||||
}
|
||||
mountedSuccessfully = YES;
|
||||
|
||||
Reference in new issue
Block a user