Work around some unsigned->signed warnings in our tests/.

Thanks to Diego Barrios Romero <eldruin@gmail.com>.
This commit is contained in:
kosak
2015-04-28 21:59:44 +00:00
parent 5c996c6466
commit f8c44a0ae4
3 changed files with 20 additions and 19 deletions

View File

@@ -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);
};