diff --git a/extras/UIColor+ColorUtilities.m b/extras/UIColor+ColorUtilities.m index c1f38c62..f6c5ba0a 100644 --- a/extras/UIColor+ColorUtilities.m +++ b/extras/UIColor+ColorUtilities.m @@ -10,7 +10,7 @@ @implementation UIColor (ColorUtilities) - (UIColor *)darkerColor { - float r, g, b, a; + CGFloat r, g, b, a; if ([self getRed:&r green:&g blue:&b alpha:&a]) return [UIColor colorWithRed:MAX(r - 0.4, 0.0) green:MAX(g - 0.4, 0.0)