Commit 2c0d50dd authored by whesse@chromium.org's avatar whesse@chromium.org

Add a integer static type cast to make MacOS compiler happy. TBR=ager@chromium.org

Review URL: http://codereview.chromium.org/181033

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@2798 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent 00a2afea
...@@ -1257,7 +1257,7 @@ Address Serializer::PutObject(HeapObject* obj) { ...@@ -1257,7 +1257,7 @@ Address Serializer::PutObject(HeapObject* obj) {
// Write out the object prologue: type, size, and simulated address of obj. // Write out the object prologue: type, size, and simulated address of obj.
writer_->PutC('['); writer_->PutC('[');
CHECK_EQ(static_cast<intptr_t>(0), size & kObjectAlignmentMask); CHECK_EQ(0, static_cast<int>(size & kObjectAlignmentMask));
writer_->PutInt(type); writer_->PutInt(type);
writer_->PutInt(size >> kObjectAlignmentBits); writer_->PutInt(size >> kObjectAlignmentBits);
PutEncodedAddress(addr); // encodes AllocationSpace PutEncodedAddress(addr); // encodes AllocationSpace
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment