From 48d0bf82d8726bdb98b9acef75b9e81d047f8f70 Mon Sep 17 00:00:00 2001 From: Aron Cedercrantz Date: Thu, 4 Oct 2012 23:03:54 +0200 Subject: [PATCH] Fix type discrepancy for upload stream delay. Signed-off-by: Aron Cedercrantz --- AFNetworking/AFHTTPClient.h | 2 +- AFNetworking/AFHTTPClient.m | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/AFNetworking/AFHTTPClient.h b/AFNetworking/AFHTTPClient.h index 9a3082c..ce5b436 100755 --- a/AFNetworking/AFHTTPClient.h +++ b/AFNetworking/AFHTTPClient.h @@ -500,7 +500,7 @@ extern NSString * const AFNetworkingReachabilityNotificationStatusItem; #pragma mark - extern NSUInteger const kAFUploadStream3GSuggestedPacketSize; -extern NSUInteger const kAFUploadStream3GSuggestedDelay; +extern NSTimeInterval const kAFUploadStream3GSuggestedDelay; /** The `AFMultipartFormData` protocol defines the methods supported by the parameter in the block argument of `AFHTTPClient -multipartFormRequestWithMethod:path:parameters:constructingBodyWithBlock:`. diff --git a/AFNetworking/AFHTTPClient.m b/AFNetworking/AFHTTPClient.m index 9fcef30..2cb0bdc 100755 --- a/AFNetworking/AFHTTPClient.m +++ b/AFNetworking/AFHTTPClient.m @@ -717,7 +717,7 @@ static inline NSString * AFContentTypeForPathExtension(NSString *extension) { } NSUInteger const kAFUploadStream3GSuggestedPacketSize = 1024 * 16; -NSUInteger const kAFUploadStream3GSuggestedDelay = 0.2; +NSTimeInterval const kAFUploadStream3GSuggestedDelay = 0.2; @interface AFHTTPBodyPart : NSObject