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

Unified Diff: runtime/vm/pages.cc

Issue 195943003: Fix arm/mac builds: cast enum. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 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: runtime/vm/pages.cc
===================================================================
--- runtime/vm/pages.cc (revision 33608)
+++ runtime/vm/pages.cc (working copy)
@@ -445,8 +445,10 @@
JSONObject heap_map(stream);
heap_map.AddProperty("type", "HeapMap");
heap_map.AddProperty("id", "heapmap");
- heap_map.AddProperty("free_class_id", kFreeListElement);
- heap_map.AddProperty("unit_size_bytes", kObjectAlignment);
+ heap_map.AddProperty("free_class_id",
+ static_cast<intptr_t>(kFreeListElement));
+ heap_map.AddProperty("unit_size_bytes",
+ static_cast<intptr_t>(kObjectAlignment));
{
// "pages" is an array [page0, page1, ..., pageN], each page an array
// [size, class id, size, class id, ...] (size unit is kObjectAlignment).
« 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