Commit 80195df5 authored by rossberg@chromium.org's avatar rossberg@chromium.org

Silence another VS warning

R=titzer@chromium.org
BUG=

Review URL: https://codereview.chromium.org/143973004

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@18712 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent 928d71f8
......@@ -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));
......
......@@ -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));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment