Index: src/types.h |
diff --git a/src/types.h b/src/types.h |
index f141712bb84f09c5e58124174517eadc7a2241f6..0af790a5ad8cb860006e5955e3fa7e213f698809 100644 |
--- a/src/types.h |
+++ b/src/types.h |
@@ -155,7 +155,8 @@ namespace internal { |
V(UntaggedFloat64, 1 << 27 | kSemantic) \ |
V(UntaggedPtr, 1 << 28 | kSemantic) \ |
V(TaggedInt, 1 << 29 | kSemantic) \ |
- V(TaggedPtr, -1 << 30 | kSemantic) /* MSB has to be sign-extended */ \ |
+ /* MSB has to be sign-extended */ \ |
+ V(TaggedPtr, static_cast<int>(~0u << 30) | kSemantic) \ |
\ |
V(UntaggedInt, kUntaggedInt1 | kUntaggedInt8 | \ |
kUntaggedInt16 | kUntaggedInt32) \ |