Index: include/private/SkFloatBits.h |
diff --git a/include/private/SkFloatBits.h b/include/private/SkFloatBits.h |
index 3ddb9ef564cfaaf2dd07e9f04bd1ce02b4b39d35..caad342a4a6b82416c782206d6b6beaa79fe3b22 100644 |
--- a/include/private/SkFloatBits.h |
+++ b/include/private/SkFloatBits.h |
@@ -32,7 +32,7 @@ static inline int32_t Sk2sComplimentToSignBit(int32_t x) { |
// make x positive |
x = (x ^ sign) - sign; |
// set the sign bit as needed |
- x |= sign << 31; |
+ x |= SkLeftShift(sign, 31); |
return x; |
} |