Update To 11.40.268.0
[platform/framework/web/crosswalk.git] / src / base / test / gtest_xml_util.cc
index 8a153dc..7a5ba8a 100644 (file)
@@ -178,9 +178,9 @@ bool ProcessGTestOutput(const base::FilePath& output_file,
           std::string test_time_str;
           if (!xml_reader.NodeAttribute("time", &test_time_str))
             return false;
-          result.elapsed_time =
-              TimeDelta::FromMicroseconds(strtod(test_time_str.c_str(), NULL) *
-                                          Time::kMicrosecondsPerSecond);
+          result.elapsed_time = TimeDelta::FromMicroseconds(
+              static_cast<int64>(strtod(test_time_str.c_str(), NULL) *
+                  Time::kMicrosecondsPerSecond));
 
           result.status = TestResult::TEST_SUCCESS;