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

Unified Diff: src/heap.cc

Issue 2893009: Fix Win64 build problem introduced by r5041. (Closed)
Patch Set: Created 10 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/heap.cc
diff --git a/src/heap.cc b/src/heap.cc
index 5c9d77f6099235fdbe1d54afa89319d9d439c8c6..a27eff1786e3a2cf09540436afb4601058a7502a 100644
--- a/src/heap.cc
+++ b/src/heap.cc
@@ -818,7 +818,7 @@ class PromotionQueue {
void remove(HeapObject** target, int* size) {
*target = reinterpret_cast<HeapObject*>(*(--front_));
- *size = *(--front_);
+ *size = static_cast<int>(*(--front_));
// Assert no underflow.
ASSERT(front_ >= rear_);
}
« 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