Revision: 2800
Author: [email protected]
Date: Tue Sep  1 08:28:31 2009
Log: Change a cast to make MacOS compiler happy.

We need to find a nicer way to handle these.

[email protected]
Review URL: http://codereview.chromium.org/182043
http://code.google.com/p/v8/source/detail?r=2800

Modified:
  /branches/bleeding_edge/test/cctest/test-utils.cc

=======================================
--- /branches/bleeding_edge/test/cctest/test-utils.cc   Tue Sep  1 06:08:16  
2009
+++ /branches/bleeding_edge/test/cctest/test-utils.cc   Tue Sep  1 08:28:31  
2009
@@ -158,7 +158,7 @@
    // int8_t and intptr_t signed integers.
    CHECK_EQ(-2, -8 >> 2);
    CHECK_EQ(-2, static_cast<int8_t>(-8) >> 2);
-  CHECK_EQ(static_cast<intptr_t>(-2), static_cast<intptr_t>(-8) >> 2);
+  CHECK_EQ(-2, static_cast<int>(static_cast<intptr_t>(-8) >> 2));
  }



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

Reply via email to