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

Unified Diff: src/hydrogen.h

Issue 10784040: Fix Win64 build by adding a static_cast. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 8 years, 5 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/hydrogen.h
diff --git a/src/hydrogen.h b/src/hydrogen.h
index 9b1ad6f7ebfbf84b4a594e2987855868885573d4..2b0fc31ec20822ea08968f27a1ba217548e40d1c 100644
--- a/src/hydrogen.h
+++ b/src/hydrogen.h
@@ -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));
Sven Panne 2012/07/18 06:02:21 Again a bit too late, but nevertheless: I think th
}
void operator delete(void* ptr) { }
« 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