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

Unified Diff: runtime/vm/freelist.cc

Issue 11555032: Fix format type specifier discrepancies on 64-bit targets. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years 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/freelist.cc
diff --git a/runtime/vm/freelist.cc b/runtime/vm/freelist.cc
index f1ac8c107baf0f52dfbf5889826324532afde612..ee3d9f9f69808884edcc3d64125a19acf69722ff 100644
--- a/runtime/vm/freelist.cc
+++ b/runtime/vm/freelist.cc
@@ -193,10 +193,10 @@ void FreeList::PrintLarge() const {
}
for (it = sorted.begin(); it != sorted.end(); ++it) {
intptr_t size = it->first;
- int list_length = it->second;
+ intptr_t list_length = it->second;
intptr_t list_bytes = list_length * size;
large_bytes += list_bytes;
- OS::Print("large %3d [%8d bytes] : "
+ OS::Print("large %3"Pd" [%8"Pd" bytes] : "
"%8"Pd" objs; %8.1f KB; %8.1f cum KB\n",
size / kObjectAlignment,
size,
« 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