Reviewers: Yang,
Message:
PTAQL.
Description:
Fix compile error on windows.
[email protected]
BUG=
TEST=
Please review this at https://chromiumcodereview.appspot.com/9424032/
SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge
Affected files:
M src/objects.h
Index: src/objects.h
diff --git a/src/objects.h b/src/objects.h
index
8b994eaed56872d74ada04d7870610c4a49e795a..901a55fcfc7979e0389bae92d8056e4653c84a41
100644
--- a/src/objects.h
+++ b/src/objects.h
@@ -1012,7 +1012,8 @@ class Smi: public Object {
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