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

Unified Diff: runtime/vm/pages.cc

Issue 10871096: Fix a build break caused by a type mismatch on 64-bit build targets. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 4 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: runtime/vm/pages.cc
diff --git a/runtime/vm/pages.cc b/runtime/vm/pages.cc
index c5ebaa59e7724abc219e8d4a3fd0fa0aed0743f9..83ab363c273d7a123a58d5b52a2189bfa2582afd 100644
--- a/runtime/vm/pages.cc
+++ b/runtime/vm/pages.cc
@@ -532,7 +532,7 @@ void PageSpaceController::EvaluateGarbageCollection(
desired_utilization_);
intptr_t growth_in_bytes = Utils::RoundUp(growth_target - in_use_after,
PageSpace::kPageSize);
- intptr_t growth_in_pages = growth_in_bytes / PageSpace::kPageSize;
+ int growth_in_pages = growth_in_bytes / PageSpace::kPageSize;
grow_heap_ = Utils::Maximum(growth_in_pages, heap_growth_rate_);
} else {
grow_heap_ = heap_growth_rate_;
« 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