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

Unified Diff: test/cctest/test-types.cc

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 | « src/types.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/cctest/test-types.cc
diff --git a/test/cctest/test-types.cc b/test/cctest/test-types.cc
index a3de98513dc917eff31f752b63503b0ff11c9945..2f0390868ab953baee37398f208969b41ac840c0 100644
--- a/test/cctest/test-types.cc
+++ b/test/cctest/test-types.cc
@@ -141,7 +141,7 @@ struct ZoneRep {
return reinterpret_cast<ZoneList<void*>*>(t);
}
static int AsBitset(ZoneType* t) {
- return reinterpret_cast<intptr_t>(t) >> 1;
+ return static_cast<int>(reinterpret_cast<intptr_t>(t) >> 1);
}
static Map* AsClass(ZoneType* t) {
return *reinterpret_cast<Map**>(AsTagged(t)->at(1));
« no previous file with comments | « src/types.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698