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

Unified Diff: src/types.h

Issue 143973004: Silence another VS warning (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 11 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 | test/cctest/test-types.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/types.h
diff --git a/src/types.h b/src/types.h
index 7dcf6f6bdc0599b8590d7503bbdc5675e6a92bfc..6b3fba5c7d9e1f88ce4c080b5b7210cd34a99932 100644
--- a/src/types.h
+++ b/src/types.h
@@ -355,7 +355,7 @@ struct ZoneTypeConfig {
static int as_bitset(Type* type) {
ASSERT(is_bitset(type));
- return reinterpret_cast<intptr_t>(type) >> 1;
+ return static_cast<int>(reinterpret_cast<intptr_t>(type) >> 1);
}
static Tagged* as_tagged(Type* type) {
ASSERT(is_tagged(type));
« no previous file with comments | « no previous file | test/cctest/test-types.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698