From c980db4e60639ce7ae9443195a4f9b2b4b449351 Mon Sep 17 00:00:00 2001 From: "gtm.daemon" Date: Tue, 24 Jul 2012 20:30:18 +0000 Subject: [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) --- AppKit/GTMCarbonEvent.m | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'AppKit/GTMCarbonEvent.m') 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 -- cgit v1.2.3