Index: include/private/SkFixed.h |
diff --git a/include/private/SkFixed.h b/include/private/SkFixed.h |
index 640f0e7ea3e1316f3d1139f3d6653bfaaed6a26c..be3bb5d6045d9b24fd98096295b3385be409d5d3 100644 |
--- a/include/private/SkFixed.h |
+++ b/include/private/SkFixed.h |
@@ -78,7 +78,7 @@ typedef int32_t SkFixed; |
// The divide may exceed 32 bits. Clamp to a signed 32 bit result. |
#define SkFixedDiv(numer, denom) \ |
- SkToS32(SkTPin<int64_t>((SkLeftShift((int64_t)numer, 16) / denom), SK_MinS32, SK_MaxS32)) |
+ SkToS32(SkTPin<int64_t>((SkLeftShift((int64_t)(numer), 16) / (denom)), SK_MinS32, SK_MaxS32)) |
////////////////////////////////////////////////////////////////////////////////////////////////////// |
// Now look for ASM overrides for our portable versions (should consider putting this in its own file) |