Index: src/mips/constants-mips.h |
diff --git a/src/mips/constants-mips.h b/src/mips/constants-mips.h |
index 3d585717cb0d4a6e5037955dc7df8fda0b8bc492..1ebf8283182a5565c5476215dac581096be3dc55 100644 |
--- a/src/mips/constants-mips.h |
+++ b/src/mips/constants-mips.h |
@@ -99,7 +99,7 @@ const int kInvalidFPURegister = -1; |
// FPU (coprocessor 1) control registers. Currently only FCSR is implemented. |
const int kFCSRRegister = 31; |
const int kInvalidFPUControlRegister = -1; |
-const uint32_t kFPUInvalidResult = (uint32_t) (1 << 31) - 1; |
+const uint32_t kFPUInvalidResult = static_cast<uint32_t>(1) << 31 - 1; |
// FCSR constants. |
const uint32_t kFCSRInexactFlagBit = 2; |