Index: src/effects/gradients/SkClampRange.cpp |
diff --git a/src/effects/gradients/SkClampRange.cpp b/src/effects/gradients/SkClampRange.cpp |
index cf302cd2a98068cec493c46f052173ad640fd09d..6f46923704be418980efb022e24713a7e2ec2e6d 100644 |
--- a/src/effects/gradients/SkClampRange.cpp |
+++ b/src/effects/gradients/SkClampRange.cpp |
@@ -163,7 +163,7 @@ void SkClampRange::init(SkGradFixed fx0, SkGradFixed dx0, int count, int v0, int |
} |
if (fCount1 > 0) { |
- fFx1 = fx0 + fCount0 * (int)dx; |
+ fFx1 = fx0 + fCount0 * dx; |
} |
if (dx > 0) { |