Skip to content

Commit

Permalink
Fix 64-bit warning.
Browse files Browse the repository at this point in the history
  • Loading branch information
th-in-gs authored and jerryhjones committed Dec 13, 2013
1 parent 9da7a3e commit d3d2b20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SMPageControl.m
Original file line number Diff line number Diff line change
Expand Up @@ -422,7 +422,7 @@ - (CGImageRef)createMaskForImage:(UIImage *)image CF_RETURNS_RETAINED
{
size_t pixelsWide = image.size.width * image.scale;
size_t pixelsHigh = image.size.height * image.scale;
int bitmapBytesPerRow = (pixelsWide * 1);
size_t bitmapBytesPerRow = (pixelsWide * 1);
CGContextRef context = CGBitmapContextCreate(NULL, pixelsWide, pixelsHigh, CGImageGetBitsPerComponent(image.CGImage), bitmapBytesPerRow, NULL, (CGBitmapInfo)kCGImageAlphaOnly);
CGContextTranslateCTM(context, 0.f, pixelsHigh);
CGContextScaleCTM(context, 1.0f, -1.0f);
Expand Down

0 comments on commit d3d2b20

Please sign in to comment.