Commit bbef3a09 authored by sanjoy@chromium.org's avatar sanjoy@chromium.org

Fix Win64 build by adding a static_cast.

BUG=
TEST=

Review URL: https://chromiumcodereview.appspot.com/10784040

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@12113 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent 3ec32fd3
......@@ -872,7 +872,7 @@ class HGraphBuilder: public AstVisitor {
void VisitDeclarations(ZoneList<Declaration*>* declarations);
void* operator new(size_t size, Zone* zone) {
return zone->New(size);
return zone->New(static_cast<int>(size));
}
void operator delete(void* ptr) { }
......
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