From fc36795ea8c45b2224b4cb271ea2b9b236011d8a Mon Sep 17 00:00:00 2001 From: "ulan@chromium.org" Date: Mon, 20 Feb 2012 13:22:02 +0000 Subject: [PATCH] Fix presubmit. R=yangguo@chromium.org Review URL: https://chromiumcodereview.appspot.com/9427011 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@10756 ce2b1a6d-e550-0410-aec6-3dcde31c8c00 --- src/objects.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/objects.h b/src/objects.h index 11a8e7ffe4..7068b980c7 100644 --- a/src/objects.h +++ b/src/objects.h @@ -1014,7 +1014,7 @@ class Smi: public Object { void SmiVerify(); #endif - static const int kMinValue = + static const int kMinValue = (static_cast(-1)) << (kSmiValueSize - 1); static const int kMaxValue = -(kMinValue + 1);