Fix ARC warning (fix #116)
This commit is contained in:
parent
af3924c447
commit
fc24642149
|
@ -159,7 +159,7 @@ NSString *const SDWebImageDownloadStopNotification = @"SDWebImageDownloadStopNot
|
|||
|
||||
// Update the data source, we must pass ALL the data, not just the new bytes
|
||||
CGImageSourceRef imageSource = CGImageSourceCreateIncremental(NULL);
|
||||
CGImageSourceUpdateData(imageSource, (CFDataRef)imageData, totalSize == expectedSize);
|
||||
CGImageSourceUpdateData(imageSource, (__bridge CFDataRef)imageData, totalSize == expectedSize);
|
||||
|
||||
if (width + height == 0)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue