Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Removes Warning that occurs when building for 64-bit systems #20

Closed
wants to merge 1 commit into from

2 participants

@rsobik

On 64-bit systems NSInteger is of type long, which results in a compiler warning when used in format strings. This pull requests casts the value to an int to get rid of the warning.

@luisobo
Owner

It should be casted to a long. I'll fix this. Thanks for the PR though.

@luisobo luisobo closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  Nocilla/Stubs/LSStubResponse.m
View
2  Nocilla/Stubs/LSStubResponse.m
@@ -59,7 +59,7 @@ - (NSDictionary *)headers {
- (NSString *)description {
return [NSString stringWithFormat:@"StubRequest:\nStatus Code: %d\nHeaders: %@\nBody: %@",
- self.statusCode,
+ (int)self.statusCode,
self.mutableHeaders,
self.body];
}
Something went wrong with that request. Please try again.