Revision: 2798
Author: [email protected]
Date: Tue Sep  1 07:31:25 2009
Log: Add a integer static type cast to make MacOS compiler happy.  
[email protected]
Review URL: http://codereview.chromium.org/181033
http://code.google.com/p/v8/source/detail?r=2798

Modified:
  /branches/bleeding_edge/src/serialize.cc

=======================================
--- /branches/bleeding_edge/src/serialize.cc    Tue Sep  1 06:08:16 2009
+++ /branches/bleeding_edge/src/serialize.cc    Tue Sep  1 07:31:25 2009
@@ -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