Chromium Code Reviews| Index: src/objects.h |
| diff --git a/src/objects.h b/src/objects.h |
| index 15753a340c944ce2bfbf11ef57f8b3628cef835f..49aa2f730013f9922b74f71670d58d21ef6c68b0 100644 |
| --- a/src/objects.h |
| +++ b/src/objects.h |
| @@ -996,7 +996,8 @@ class Smi: public Object { |
| void SmiVerify(); |
| #endif |
| - static const int kMinValue = (-1 << (kSmiValueSize - 1)); |
| + static const int kMinValue = |
| + (static_cast<unsigned int>(-1)) << (kSmiValueSize - 1); |
| static const int kMaxValue = -(kMinValue + 1); |
| private: |