- CGContextSetRGBFillColor(context, (float)backgroundColor.red / (float)USHRT_MAX,
- (float)backgroundColor.green / (float)USHRT_MAX,
- (float)backgroundColor.blue / (float)USHRT_MAX, 1.0);
+ CGContextSetRGBFillColor(context, (CGFloat)backgroundColor.red / (CGFloat)USHRT_MAX,
+ (CGFloat)backgroundColor.green / (CGFloat)USHRT_MAX,
+ (CGFloat)backgroundColor.blue / (CGFloat)USHRT_MAX, (CGFloat) 1.0);