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

Unified Diff: src/gc-tracer.cc

Issue 420273002: Fix printf formatting. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 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/gc-tracer.cc
diff --git a/src/gc-tracer.cc b/src/gc-tracer.cc
index 1f7ecd4914e02bfe597c5d8bf40e95e1f86fc04b..74a2aa873f1cb635ad6a2401c01cc4640db7f1c0 100644
--- a/src/gc-tracer.cc
+++ b/src/gc-tracer.cc
@@ -280,7 +280,8 @@ void GCTracer::PrintNVP() const {
PrintF("steps_count=%d ", current_.incremental_marking_steps);
PrintF("steps_took=%.1f ", current_.incremental_marking_duration);
PrintF("longest_step=%.1f ", current_.longest_incremental_marking_step);
- PrintF("marking_throughput=%d\n", MarkingSpeedInBytesPerMillisecond());
+ PrintF("marking_throughput=%" V8_PTR_PREFIX "d ",
+ MarkingSpeedInBytesPerMillisecond());
}
PrintF("\n");
« 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