Reviewers: Mads Ager,

Description:
Add a integer static type cast to make MacOS compiler happy.
[email protected]

Please review this at http://codereview.chromium.org/181033

SVN Base: http://v8.googlecode.com/svn/branches/bleeding_edge/

Affected files:
   M     src/serialize.cc


Index: src/serialize.cc
===================================================================
--- src/serialize.cc    (revision 2795)
+++ src/serialize.cc    (working copy)
@@ -1257,7 +1257,7 @@

    // Write out the object prologue: type, size, and simulated address of  
obj.
    writer_->PutC('[');
-  CHECK_EQ(static_cast<intptr_t>(0), size & kObjectAlignmentMask);
+  CHECK_EQ(0, static_cast<int>(size & kObjectAlignmentMask));
    writer_->PutInt(type);
    writer_->PutInt(size >> kObjectAlignmentBits);
    PutEncodedAddress(addr);  // encodes AllocationSpace



--~--~---------~--~----~------------~-------~--~----~
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
-~----------~----~----~----~------~----~------~--~---

Reply via email to