Index: base/test/gtest_xml_util.cc |
diff --git a/base/test/gtest_xml_util.cc b/base/test/gtest_xml_util.cc |
index e24d5223108ab4f176b2a95cac142ab3dfacf17d..5426a243d5fc77514c74243025fc654faa83312d 100644 |
--- a/base/test/gtest_xml_util.cc |
+++ b/base/test/gtest_xml_util.cc |
@@ -4,6 +4,8 @@ |
#include "base/test/gtest_xml_util.h" |
+#include <stdint.h> |
+ |
#include "base/files/file_util.h" |
#include "base/logging.h" |
#include "base/strings/stringprintf.h" |
@@ -118,8 +120,8 @@ bool ProcessGTestOutput(const base::FilePath& output_file, |
if (!xml_reader.NodeAttribute("time", &test_time_str)) |
return false; |
result.elapsed_time = TimeDelta::FromMicroseconds( |
- static_cast<int64>(strtod(test_time_str.c_str(), NULL) * |
- Time::kMicrosecondsPerSecond)); |
+ static_cast<int64_t>(strtod(test_time_str.c_str(), NULL) * |
+ Time::kMicrosecondsPerSecond)); |
result.status = TestResult::TEST_SUCCESS; |