diff --git a/Classes/Utils/XMLRPC/XMLRPCConnection.m b/Classes/Utils/XMLRPC/XMLRPCConnection.m index a7d17a505..e4e305346 100755 --- a/Classes/Utils/XMLRPC/XMLRPCConnection.m +++ b/Classes/Utils/XMLRPC/XMLRPCConnection.m @@ -139,7 +139,7 @@ totalBytesExpectedToWrite:(NSInteger)totalBytesExpectedToWrite; - (void)connection: (NSURLConnection *)connection didReceiveResponse: (NSURLResponse *)response { if([response respondsToSelector: @selector(statusCode)]) { - int statusCode = [(NSHTTPURLResponse *)response statusCode]; + NSInteger statusCode = [(NSHTTPURLResponse *)response statusCode]; if(statusCode >= 400) { NSError *error = [NSError errorWithDomain: @"HTTP" code: statusCode userInfo: nil]; diff --git a/Classes/Utils/XMLRPC/XMLRPCConnectionManager.m b/Classes/Utils/XMLRPC/XMLRPCConnectionManager.m index ada3678c0..4d3ca087a 100755 --- a/Classes/Utils/XMLRPC/XMLRPCConnectionManager.m +++ b/Classes/Utils/XMLRPC/XMLRPCConnectionManager.m @@ -67,7 +67,7 @@ static XMLRPCConnectionManager *sharedInstance = nil; } - (int)numberOfActiveConnections { - return [myConnections count]; + return (int)[myConnections count]; } #pragma mark - diff --git a/Classes/Utils/XMLRPC/XMLRPCRequest.m b/Classes/Utils/XMLRPC/XMLRPCRequest.m index 825823977..1b6272f64 100755 --- a/Classes/Utils/XMLRPC/XMLRPCRequest.m +++ b/Classes/Utils/XMLRPC/XMLRPCRequest.m @@ -107,7 +107,7 @@ - (NSURLRequest *)request { NSData *content = [[self body] dataUsingEncoding: NSUTF8StringEncoding]; - NSNumber *contentLength = [NSNumber numberWithInt: [content length]]; + NSNumber *contentLength = [NSNumber numberWithInteger:[content length]]; if (!myRequest) { return nil;