Fixes MSVC warnings in 64-bit mode.

This commit is contained in:
zhanyong.wan
2010-02-25 22:15:27 +00:00
parent 4879aac749
commit 6baed3c117
4 changed files with 15 additions and 14 deletions
+1 -1
View File
@@ -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 {