Permalink
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...
1 parent cc35e61 commit 1037a807f5b91387939c538080b787f5ac590a9f @tewha tewha committed Jul 24, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 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 {

0 comments on commit 1037a80

Please sign in to comment.