diff options
Diffstat (limited to 'third_party/ocmock/OCMock/NSInvocation+OCMAdditions.m')
-rw-r--r-- | third_party/ocmock/OCMock/NSInvocation+OCMAdditions.m | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/third_party/ocmock/OCMock/NSInvocation+OCMAdditions.m b/third_party/ocmock/OCMock/NSInvocation+OCMAdditions.m index 2595523..4157958 100644 --- a/third_party/ocmock/OCMock/NSInvocation+OCMAdditions.m +++ b/third_party/ocmock/OCMock/NSInvocation+OCMAdditions.m @@ -257,7 +257,7 @@ long longValue; [self getArgument:&longValue atIndex:anInt]; - return [NSString stringWithFormat:@"%d", longValue]; + return [NSString stringWithFormat:@"%ld", longValue]; } - (NSString *)unsignedLongDescriptionAtIndex:(int)anInt @@ -265,7 +265,7 @@ unsigned long longValue; [self getArgument:&longValue atIndex:anInt]; - return [NSString stringWithFormat:@"%u", longValue]; + return [NSString stringWithFormat:@"%lu", longValue]; } - (NSString *)longLongDescriptionAtIndex:(int)anInt @@ -323,7 +323,7 @@ memset(buffer, 0x0, 128); [self getArgument:&buffer atIndex:anInt]; - return [NSString stringWithFormat:@"\"%S\"", buffer]; + return [NSString stringWithFormat:@"\"%s\"", buffer]; } - (NSString *)selectorDescriptionAtIndex:(int)anInt |