Commit 4f01977e authored by serya@chromium.org's avatar serya@chromium.org

Fixing Windows build.

Review URL: http://codereview.chromium.org/1563002

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@4311 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent cd826b5c
...@@ -316,7 +316,7 @@ template <int radix_log_2, class Iterator, class EndMark> ...@@ -316,7 +316,7 @@ template <int radix_log_2, class Iterator, class EndMark>
} }
number = number * radix + digit; number = number * radix + digit;
int overflow = number >> 53; int overflow = static_cast<int>(number >> 53);
if (overflow != 0) { if (overflow != 0) {
// Overflow occurred. Need to determine which direction to round the // Overflow occurred. Need to determine which direction to round the
// result. // result.
...@@ -327,7 +327,7 @@ template <int radix_log_2, class Iterator, class EndMark> ...@@ -327,7 +327,7 @@ template <int radix_log_2, class Iterator, class EndMark>
} }
int dropped_bits_mask = ((1 << overflow_bits_count) - 1); int dropped_bits_mask = ((1 << overflow_bits_count) - 1);
int dropped_bits = number & dropped_bits_mask; int dropped_bits = static_cast<int>(number) & dropped_bits_mask;
number >>= overflow_bits_count; number >>= overflow_bits_count;
exponent = overflow_bits_count; exponent = overflow_bits_count;
......
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