Revision: 10752
Author:   [email protected]
Date:     Mon Feb 20 04:36:35 2012
Log:      Fix compile error on windows.

[email protected]

BUG=
TEST=

Review URL: https://chromiumcodereview.appspot.com/9424032
http://code.google.com/p/v8/source/detail?r=10752

Modified:
 /branches/bleeding_edge/src/objects.h

=======================================
--- /branches/bleeding_edge/src/objects.h       Mon Feb 20 02:17:25 2012
+++ /branches/bleeding_edge/src/objects.h       Mon Feb 20 04:36:35 2012
@@ -1012,7 +1012,8 @@
   void SmiVerify();
 #endif

-  static const int kMinValue = (-1U << (kSmiValueSize - 1));
+  static const int kMinValue =
+      (static_cast<unsigned int>(-1)) << (kSmiValueSize - 1);
   static const int kMaxValue = -(kMinValue + 1);

  private:

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

Reply via email to