From ed21e9bab5c58a051274f957f1de79bb87a21a7e Mon Sep 17 00:00:00 2001 From: "gtm.daemon" Date: Mon, 27 Feb 2012 13:00:34 +0000 Subject: [Author: dmaclach] Fix up -wformat warnings that clang was reporting crbug.com/115847 TBR=thomasvl DELTA=2 (0 added, 0 deleted, 2 changed) --- AppKit/GTMCarbonEvent.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'AppKit/GTMCarbonEvent.m') 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]; } -- cgit v1.2.3