Index: tools/gn/trace.cc |
diff --git a/tools/gn/trace.cc b/tools/gn/trace.cc |
index 14b0a145d5bf02105307b7587605d387f52ff692..530915137b3e6a822a17844f480da748fff3631e 100644 |
--- a/tools/gn/trace.cc |
+++ b/tools/gn/trace.cc |
@@ -220,7 +220,7 @@ std::string SummarizeTraces() { |
// possible for more than one to run if more than one build is going in |
// parallel. Just report the total of all of them. |
if (!check_headers.empty()) { |
- float check_headers_time = 0; |
+ double check_headers_time = 0; |
for (const auto& cur : check_headers) |
check_headers_time += cur->delta().InMillisecondsF(); |