We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 60bd422 commit fba4aeaCopy full SHA for fba4aea
AFNetworking/AFImageRequestOperation.m
@@ -78,7 +78,7 @@ static dispatch_queue_t image_request_operation_processing_queue() {
78
size_t width = CGImageGetWidth(imageRef);
79
size_t height = CGImageGetHeight(imageRef);
80
size_t bitsPerComponent = CGImageGetBitsPerComponent(imageRef);
81
- size_t bytesPerRow = NULL; // CGImageGetBytesPerRow() calculates incorrectly in iOS 5.0, so defer to CGBitmapContextCreate()
+ size_t bytesPerRow = 0; // CGImageGetBytesPerRow() calculates incorrectly in iOS 5.0, so defer to CGBitmapContextCreate()
82
CGColorSpaceRef colorSpace = CGColorSpaceCreateDeviceRGB();
83
CGBitmapInfo bitmapInfo = CGImageGetBitmapInfo(imageRef);
84
0 commit comments