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

Unified Diff: runtime/vm/timer.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/stack_frame.cc ('k') | runtime/vm/verifier.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/timer.cc
diff --git a/runtime/vm/timer.cc b/runtime/vm/timer.cc
index b2b2c7f43d48176c9fec54ee55f01405ba98a491..96c3224d81ee076fdf2369489a19af0ab9a21b43 100644
--- a/runtime/vm/timer.cc
+++ b/runtime/vm/timer.cc
@@ -26,7 +26,9 @@ TimerList::TimerList()
#define TIMER_FIELD_REPORT(name, msg) \
if (name().enabled() && name().message() != NULL) { \
- OS::Print("%s %ld micros.\n", name().message(), name().TotalElapsedTime());\
+ OS::Print("%s %"Pd64" micros.\n", \
+ name().message(), \
+ name().TotalElapsedTime()); \
}
void TimerList::ReportTimers() {
TIMER_LIST(TIMER_FIELD_REPORT);
« no previous file with comments | « runtime/vm/stack_frame.cc ('k') | runtime/vm/verifier.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698