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

Unified Diff: src/runtime.cc

Issue 13463004: Fix Win64 build (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 9 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/runtime.cc
diff --git a/src/runtime.cc b/src/runtime.cc
index 5fe1f9dc5bcb33a93581e2f2ed100d58cfe5c5f0..dcc76181fe488a0aa27a7c734cb7a5be706df303 100644
--- a/src/runtime.cc
+++ b/src/runtime.cc
@@ -851,7 +851,8 @@ RUNTIME_FUNCTION(MaybeObject*, Runtime_ArrayBufferInitialize) {
Object* byte_length;
{
MaybeObject* maybe_byte_length =
- isolate->heap()->NumberFromDouble(allocated_length);
+ isolate->heap()->NumberFromDouble(
+ static_cast<double>(allocated_length));
if (!maybe_byte_length->ToObject(&byte_length)) return maybe_byte_length;
}
CHECK(byte_length->IsSmi() || byte_length->IsHeapNumber());
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698