Skip to content

Commit

Permalink
Merge pull request jverkoey#525 from jverkoey/afnetworking
Browse files Browse the repository at this point in the history
Update some type declarations for AFNetworking usage.
  • Loading branch information
jverkoey committed Mar 18, 2014
2 parents 4cbfe73 + 5ac5a3c commit 1bfd21c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/networkimage/src/NINetworkImageView.m
Original file line number Diff line number Diff line change
Expand Up @@ -353,7 +353,7 @@ - (void)setPathToNetworkImage:(NSString *)pathToNetworkImage forDisplaySize:(CGS
[self _didFailToLoadWithError:error];
}];

[requestOperation setDownloadProgressBlock:^(NSUInteger bytesRead, long long totalBytesRead, long long totalBytesExpectedToRead) {
[requestOperation setDownloadProgressBlock:^(NSUInteger bytesRead, NSInteger totalBytesRead, NSInteger totalBytesExpectedToRead) {
if ([self.delegate respondsToSelector:@selector(networkImageView:readBytes:totalBytes:)]) {
[self.delegate networkImageView:self readBytes:totalBytesRead totalBytes:totalBytesExpectedToRead];
}
Expand Down

0 comments on commit 1bfd21c

Please sign in to comment.