Index: src/checks.h |
diff --git a/src/checks.h b/src/checks.h |
index 0ff79afbcab6b98fe4f83c861f1b788dc7b1b4c3..b302e5beee04da3c02604d6357ab2a0f8c610358 100644 |
--- a/src/checks.h |
+++ b/src/checks.h |
@@ -254,7 +254,7 @@ template <int> class StaticAssertionHelper { }; |
#define ASSERT_TAG_ALIGNED(address) \ |
- ASSERT((reinterpret_cast<int>(address) & kHeapObjectTagMask) == 0) |
+ ASSERT((reinterpret_cast<intptr_t>(address) & kHeapObjectTagMask) == 0) |
#define ASSERT_SIZE_TAG_ALIGNED(size) ASSERT((size & kHeapObjectTagMask) == 0) |