aboutsummaryrefslogtreecommitdiffstats
path: root/test/gtest-port_test.cc
diff options
context:
space:
mode:
Diffstat (limited to 'test/gtest-port_test.cc')
-rw-r--r--test/gtest-port_test.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/gtest-port_test.cc b/test/gtest-port_test.cc
index 370c952b..c904f1e7 100644
--- a/test/gtest-port_test.cc
+++ b/test/gtest-port_test.cc
@@ -1219,11 +1219,11 @@ class DestructorTracker {
}
private:
- static int GetNewIndex() {
+ static size_t GetNewIndex() {
DestructorCall::List().push_back(new DestructorCall);
return DestructorCall::List().size() - 1;
}
- const int index_;
+ const size_t index_;
GTEST_DISALLOW_ASSIGN_(DestructorTracker);
};