diff options
author | gtm.daemon <gtm.daemon@7dc7ac4e-7543-0410-b95c-c1676fc8e2a3> | 2012-07-24 20:30:18 +0000 |
---|---|---|
committer | gtm.daemon <gtm.daemon@7dc7ac4e-7543-0410-b95c-c1676fc8e2a3> | 2012-07-24 20:30:18 +0000 |
commit | c980db4e60639ce7ae9443195a4f9b2b4b449351 (patch) | |
tree | a75513a764a370721b3e04faa084f100ac559de0 /AppKit/GTMCarbonEvent.m | |
parent | ba6b64fef26412fd664e22862d10d636194f8c75 (diff) |
[Author: dmaclach]
Clean up all of our format string issues amongst some other fun stuff.
R=thomasvl
DELTA=167 (90 added, 8 deleted, 69 changed)
Diffstat (limited to 'AppKit/GTMCarbonEvent.m')
-rw-r--r-- | AppKit/GTMCarbonEvent.m | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/AppKit/GTMCarbonEvent.m b/AppKit/GTMCarbonEvent.m index 37e7e2f..9ff1fbf 100644 --- a/AppKit/GTMCarbonEvent.m +++ b/AppKit/GTMCarbonEvent.m @@ -166,7 +166,8 @@ *((UInt32 *)cls) = CFSwapInt32HostToBig([self eventClass]); kind = [self eventKind]; cls[4] = 0; - return [NSString stringWithFormat:@"GTMCarbonEvent '%s' %lu", cls, kind]; + return [NSString stringWithFormat:@"GTMCarbonEvent '%s' %lu", + cls, (unsigned long)kind]; } @@ -749,7 +750,8 @@ CantCreateKey: - (NSString *)description { return [NSString stringWithFormat:@"<%@ %p> - ref %p signature %lu id %lu", - [self class], self, hotKeyRef_, id_.signature, id_.id]; + [self class], self, hotKeyRef_, + (unsigned long)id_.signature, (unsigned long)id_.id]; } @end |