diff --git a/test/gtest-extra-test.cc b/test/gtest-extra-test.cc index f4de4e4f..d4d38e4b 100644 --- a/test/gtest-extra-test.cc +++ b/test/gtest-extra-test.cc @@ -190,7 +190,7 @@ TEST(FileDescriptorTest, MoveAssignment) { bool IsClosed(int fd) { char buffer; - ssize_t result = read(fd, &buffer, 1); + std::streamsize result = read(fd, &buffer, 1); return result == -1 && errno == EBADF; }