Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5)

Unified Diff: third_party/ocmock/OCMock/NSInvocation+OCMAdditions.m

Issue 9240023: Roll OCMock r77:7f521db0628086185123666b0979e48d6ecaeac1. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/ocmock/OCMock/NSInvocation+OCMAdditions.m
diff --git a/third_party/ocmock/OCMock/NSInvocation+OCMAdditions.m b/third_party/ocmock/OCMock/NSInvocation+OCMAdditions.m
index df99912b09853c035b3c19e0aa9b9b94298c9df2..2595523ad5a4d17787da429c882f8f236a0ac60b 100644
--- a/third_party/ocmock/OCMock/NSInvocation+OCMAdditions.m
+++ b/third_party/ocmock/OCMock/NSInvocation+OCMAdditions.m
@@ -1,5 +1,5 @@
//---------------------------------------------------------------------------------------
-// $Id: NSInvocation+OCMAdditions.m 67 2010-08-02 03:25:16Z erik $
+// $Id$
// Copyright (c) 2006-2009 by Mulle Kybernetik. See License file for details.
//---------------------------------------------------------------------------------------
@@ -121,7 +121,7 @@
}
case '{': // structure
{
- unsigned maxArgSize = [[self methodSignature] frameLength];
+ NSUInteger maxArgSize = [[self methodSignature] frameLength];
NSMutableData *argumentData = [[[NSMutableData alloc] initWithLength:maxArgSize] autorelease];
[self getArgument:[argumentData mutableBytes] atIndex:argIndex];
return [NSValue valueWithBytes:[argumentData bytes] objCType:argType];
@@ -135,14 +135,14 @@
- (NSString *)invocationDescription
{
NSMethodSignature *methodSignature = [self methodSignature];
- unsigned int numberOfArgs = [methodSignature numberOfArguments];
+ NSUInteger numberOfArgs = [methodSignature numberOfArguments];
if (numberOfArgs == 2)
return NSStringFromSelector([self selector]);
NSArray *selectorParts = [NSStringFromSelector([self selector]) componentsSeparatedByString:@":"];
NSMutableString *description = [[NSMutableString alloc] init];
- int i;
+ unsigned int i;
for(i = 2; i < numberOfArgs; i++)
{
[description appendFormat:@"%@%@:", (i > 2 ? @" " : @""), [selectorParts objectAtIndex:(i - 2)]];
« no previous file with comments | « third_party/ocmock/OCMock/NSInvocation+OCMAdditions.h ('k') | third_party/ocmock/OCMock/NSInvocationOCMAdditionsTests.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698