diff options
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 |