aboutsummaryrefslogtreecommitdiffstats
path: root/src/gtest-test-part.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/gtest-test-part.cc')
-rw-r--r--src/gtest-test-part.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gtest-test-part.cc b/src/gtest-test-part.cc
index 7d9adef7..5d183a44 100644
--- a/src/gtest-test-part.cc
+++ b/src/gtest-test-part.cc
@@ -81,7 +81,7 @@ const TestPartResult& TestPartResultArray::GetTestPartResult(int index) const {
// Returns the number of TestPartResult objects in the array.
int TestPartResultArray::size() const {
- return array_.size();
+ return static_cast<int>(array_.size());
}
namespace internal {