Skip to content

Commit

Permalink
Fix compile error in test target when running on 32 bit device (#978)
Browse files Browse the repository at this point in the history
Warning about implicit conversion that our compiler settings elevate to an error.
  • Loading branch information
danj-stripe authored Jun 29, 2018
1 parent 98e7c7d commit aa2827d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Tests/Tests/STPColorUtilsTest.m
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ - (void)testGrayscaleColorsIsBright {
CGColorRelease(cgcolor);
}

for (CGFloat white = 0.3001; white < 2; white += 0.1) {
for (CGFloat white = (CGFloat)0.3001; white < 2; white += 0.1) {
components[0] = white;
CGColorRef cgcolor = CGColorCreate(space, components);
UIColor *color = [UIColor colorWithCGColor:cgcolor];
Expand Down

0 comments on commit aa2827d

Please sign in to comment.