Index: tests/MathTest.cpp |
diff --git a/tests/MathTest.cpp b/tests/MathTest.cpp |
index 3c2bc644073ddcd211e732c645a28fd894a4b00d..24e46f3097aea20d0f62277dd74aae2dd44eb5c2 100644 |
--- a/tests/MathTest.cpp |
+++ b/tests/MathTest.cpp |
@@ -561,7 +561,7 @@ DEF_TEST(Math, reporter) { |
SkFixed numer = rand.nextS(); |
SkFixed denom = rand.nextS(); |
SkFixed result = SkFixedDiv(numer, denom); |
- int64_t check = ((int64_t)numer << 16) / denom; |
+ int64_t check = SkLeftShift((int64_t)numer, 16) / denom; |
(void)SkCLZ(numer); |
(void)SkCLZ(denom); |