Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed warning.

containsIndex takes a NSUInteger, not a NSInteger. When CLANG_WARN_IMPLICIT_SIGN_CONVERSION is set, this generates a warning.
  • Loading branch information...
commit 1037a807f5b91387939c538080b787f5ac590a9f 1 parent cc35e61
@tewha tewha authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  AFNetworking/AFHTTPRequestOperation.m
View
2  AFNetworking/AFHTTPRequestOperation.m
@@ -188,7 +188,7 @@ - (void)pause {
}
- (BOOL)hasAcceptableStatusCode {
- return ![[self class] acceptableStatusCodes] || [[[self class] acceptableStatusCodes] containsIndex:[self.response statusCode]];
+ return ![[self class] acceptableStatusCodes] || [[[self class] acceptableStatusCodes] containsIndex:(NSUInteger)[self.response statusCode]];
}
- (BOOL)hasAcceptableContentType {
Please sign in to comment.
Something went wrong with that request. Please try again.