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

Unified Diff: runtime/vm/freelist.cc

Issue 10869063: Add attributions so printf like functions can have their arguments checked. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: rebased Created 8 years, 3 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 | « runtime/vm/flow_graph_optimizer.cc ('k') | runtime/vm/heap.cc » ('j') | 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 c2ce1855f17652fc76305df5afdc5f8e8e94bab2..dc71f0eec7308f0004a3a77da01ade606212d700 100644
--- a/runtime/vm/freelist.cc
+++ b/runtime/vm/freelist.cc
@@ -162,7 +162,8 @@ void FreeList::Print() const {
total_length += length;
intptr_t size = length * i * kObjectAlignment;
total_size += size;
- OS::Print("%*d %*d %*d\n", 10, i * kObjectAlignment, 10, length, 10, size);
+ OS::Print("%*d %*"Pd" %*"Pd"\n",
+ 10, i * kObjectAlignment, 10, length, 10, size);
}
OS::Print("--------------------------------\n");
OS::Print("%*d %*d %*d\n", 10, total_index, 10, total_length, 10, total_size);
« no previous file with comments | « runtime/vm/flow_graph_optimizer.cc ('k') | runtime/vm/heap.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698