Index: src/core/SkMath.cpp |
diff --git a/src/core/SkMath.cpp b/src/core/SkMath.cpp |
index e1133c78505b5b10da0974d3615da5b61ee08b73..e7c4fdcc533263b539837becf4beca7ecc32dfe2 100644 |
--- a/src/core/SkMath.cpp |
+++ b/src/core/SkMath.cpp |
@@ -55,7 +55,7 @@ int32_t SkMulDiv(int32_t numer1, int32_t numer2, int32_t denom) { |
SkFixed SkFixedMul_portable(SkFixed a, SkFixed b) { |
#if defined(SkLONGLONG) |
- return static_cast<SkFixed>((SkLONGLONG)a * b >> 16); |
+ return static_cast<SkFixed>((int64_t)a * b >> 16); |
#else |
int sa = SkExtractSign(a); |
int sb = SkExtractSign(b); |