Skip to content

Commit

Permalink
Merge pull request SDWebImage#1350 from eikemeier/master
Browse files Browse the repository at this point in the history
Fix compilation error introduced in commit 6406d8e
  • Loading branch information
bpoplauschi committed Oct 27, 2015
2 parents 8dcc5b5 + 92e3816 commit f9abff8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SDWebImage/SDWebImagePrefetcher.m
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ - (void)prefetchURLs:(NSArray *)urls progress:(SDWebImagePrefetcherProgressBlock

NSInteger maxNumberOfImages = self.prefetchURLs.count;

dispatch_apply(maxNumberOfImages/self.maxConcurrentDownloads, dispatch_get_global_queue(self.prefetcherQueue, 0), ^(size_t index) {
dispatch_apply(maxNumberOfImages/self.maxConcurrentDownloads, self.prefetcherQueue, ^(size_t index) {
size_t i = index * self.maxConcurrentDownloads;
size_t stop = i + self.maxConcurrentDownloads;
do {
Expand Down

0 comments on commit f9abff8

Please sign in to comment.