diff --git a/Examples/SDWebImage Demo.xcodeproj/project.pbxproj b/Examples/SDWebImage Demo.xcodeproj/project.pbxproj index 57c31163..ba4e96c3 100644 --- a/Examples/SDWebImage Demo.xcodeproj/project.pbxproj +++ b/Examples/SDWebImage Demo.xcodeproj/project.pbxproj @@ -153,7 +153,7 @@ isa = PBXGroup; children = ( 53A2B4F7155B095800B12423 /* libSDWebImage.a */, - 53A2B4F9155B095800B12423 /* libSDWebImage ARC.a */, + 53A2B4F9155B095800B12423 /* libSDWebImageARC.a */, ); name = Products; sourceTree = ""; @@ -219,7 +219,7 @@ remoteRef = 53A2B4F6155B095800B12423 /* PBXContainerItemProxy */; sourceTree = BUILT_PRODUCTS_DIR; }; - 53A2B4F9155B095800B12423 /* libSDWebImage ARC.a */ = { + 53A2B4F9155B095800B12423 /* libSDWebImageARC.a */ = { isa = PBXReferenceProxy; fileType = archive.ar; path = libSDWebImageARC.a; diff --git a/SDWebImage/SDWebImageDownloader.m b/SDWebImage/SDWebImageDownloader.m index f4062407..56ff66e9 100644 --- a/SDWebImage/SDWebImageDownloader.m +++ b/SDWebImage/SDWebImageDownloader.m @@ -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) {