diff --git a/Pod/Classes/PINURLSessionManager.m b/Pod/Classes/PINURLSessionManager.m index 96e3b3f..2ae3a99 100644 --- a/Pod/Classes/PINURLSessionManager.m +++ b/Pod/Classes/PINURLSessionManager.m @@ -117,7 +117,7 @@ NSString * const PINURLErrorDomain = @"PINURLErrorDomain"; dispatch_queue_t delegateQueue = self.delegateQueues[@(task.taskIdentifier)]; [self unlock]; if (!error && [task.response isKindOfClass:[NSHTTPURLResponse class]]) { - int statusCode = [(NSHTTPURLResponse *)task.response statusCode]; + NSInteger statusCode = [(NSHTTPURLResponse *)task.response statusCode]; if (statusCode >= 400) { error = [NSError errorWithDomain:PINURLErrorDomain code:statusCode