aboutsummaryrefslogtreecommitdiff
path: root/AppKit
diff options
context:
space:
mode:
authorGravatar gtm.daemon <gtm.daemon@7dc7ac4e-7543-0410-b95c-c1676fc8e2a3>2012-02-27 13:00:34 +0000
committerGravatar gtm.daemon <gtm.daemon@7dc7ac4e-7543-0410-b95c-c1676fc8e2a3>2012-02-27 13:00:34 +0000
commited21e9bab5c58a051274f957f1de79bb87a21a7e (patch)
tree985416dd3763d79ce0d0c2cda98f9c099a1c5694 /AppKit
parentc0ab9a6391720b88d027b5005fcbde6ff0114f78 (diff)
[Author: dmaclach]
Fix up -wformat warnings that clang was reporting crbug.com/115847 TBR=thomasvl DELTA=2 (0 added, 0 deleted, 2 changed)
Diffstat (limited to 'AppKit')
-rw-r--r--AppKit/GTMCarbonEvent.m4
1 files changed, 2 insertions, 2 deletions
diff --git a/AppKit/GTMCarbonEvent.m b/AppKit/GTMCarbonEvent.m
index a2cf3f9..37e7e2f 100644
--- a/AppKit/GTMCarbonEvent.m
+++ b/AppKit/GTMCarbonEvent.m
@@ -166,7 +166,7 @@
*((UInt32 *)cls) = CFSwapInt32HostToBig([self eventClass]);
kind = [self eventKind];
cls[4] = 0;
- return [NSString stringWithFormat:@"GTMCarbonEvent '%s' %d", cls, kind];
+ return [NSString stringWithFormat:@"GTMCarbonEvent '%s' %lu", cls, kind];
}
@@ -748,7 +748,7 @@ CantCreateKey:
}
- (NSString *)description {
- return [NSString stringWithFormat:@"<%@ %p> - ref %p signature %d id %d",
+ return [NSString stringWithFormat:@"<%@ %p> - ref %p signature %lu id %lu",
[self class], self, hotKeyRef_, id_.signature, id_.id];
}