From c8f2efe065c2c6b5bc3f071b6892006f2dc556b1 Mon Sep 17 00:00:00 2001 From: Richard Trieu Date: Wed, 29 May 2019 21:25:15 +0000 Subject: [PATCH] Use correct format specifier to silence -Wformat warning. llvm-svn: 362035 --- lldb/source/Utility/Timer.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lldb/source/Utility/Timer.cpp b/lldb/source/Utility/Timer.cpp index 7492045..6b46d8b 100644 --- a/lldb/source/Utility/Timer.cpp +++ b/lldb/source/Utility/Timer.cpp @@ -144,7 +144,8 @@ void Timer::DumpCategoryTimes(Stream *s) { llvm::sort(sorted.begin(), sorted.end(), CategoryMapIteratorSortCriterion); for (const auto &stats : sorted) - s->Printf("%.9f sec (total: %.3fs; child: %.3fs; count: %llu) for %s\n", + s->Printf("%.9f sec (total: %.3fs; child: %.3fs; count: %" PRIu64 + ") for %s\n", stats.nanos / 1000000000., stats.nanos_total / 1000000000., (stats.nanos_total - stats.nanos) / 1000000000., stats.count, stats.name); -- 2.7.4