Index: test/cctest/test-log-stack-tracer.cc |
=================================================================== |
--- test/cctest/test-log-stack-tracer.cc (revision 5551) |
+++ test/cctest/test-log-stack-tracer.cc (working copy) |
@@ -245,8 +245,8 @@ |
args.This()->Set(v8_str("low_bits"), v8_num(low_bits >> 1)); |
#elif defined(V8_HOST_ARCH_64_BIT) |
uint64_t fp = reinterpret_cast<uint64_t>(calling_frame->fp()); |
- int32_t low_bits = fp & 0xffffffff; |
- int32_t high_bits = fp >> 32; |
+ int32_t low_bits = static_cast<int32_t>(fp & 0xffffffff); |
+ int32_t high_bits = static_cast<int32_t>(fp >> 32); |
args.This()->Set(v8_str("low_bits"), v8_num(low_bits)); |
args.This()->Set(v8_str("high_bits"), v8_num(high_bits)); |
#else |