Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(896)

Unified Diff: src/objects.h

Issue 9355041: Merge r10752 into 3.6 branch: Fix compile error on windows. (Closed) Base URL: https://v8.googlecode.com/svn/branches/3.6
Patch Set: Created 8 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | src/version.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/objects.h
diff --git a/src/objects.h b/src/objects.h
index 3b12afbd3c7cd178f7adefdb2ebc8518bceca956..672cff7abba083187f8d83ee52a8baab486859e3 100644
--- a/src/objects.h
+++ b/src/objects.h
@@ -986,7 +986,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:
« no previous file with comments | « no previous file | src/version.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698