summaryrefslogtreecommitdiff
path: root/Juick/MessagesViewController.m
diff options
context:
space:
mode:
Diffstat (limited to 'Juick/MessagesViewController.m')
-rw-r--r--Juick/MessagesViewController.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/Juick/MessagesViewController.m b/Juick/MessagesViewController.m
index 7e3f01a..ff7e556 100644
--- a/Juick/MessagesViewController.m
+++ b/Juick/MessagesViewController.m
@@ -145,7 +145,7 @@ static NSMutableDictionary *heightsCache;
[cell setMessage:msg];
if ([msg.attach length] > 0) {
SDWebImageManager * manager = [SDWebImageManager sharedManager];
- [manager downloadWithURL:[NSURL URLWithString:msg.attach] options:SDWebImageContinueInBackground progress:^(NSUInteger receivedSize, long long expectedSize) {
+ [manager downloadWithURL:[NSURL URLWithString:msg.attach] options:SDWebImageContinueInBackground progress:^(NSInteger receivedSize, NSInteger expectedSize) {
// <#code#>
} completed:^(UIImage *image, NSError *error, SDImageCacheType cacheType, BOOL finished) {
[cell.attach setImage:[UIImage imageWithImage:image convertToWidth:300.0f]];