Googletest export

Fix -Wconversion issues on Fuchsia

PiperOrigin-RevId: 368520510
This commit is contained in:
Abseil Team 2021-04-14 15:27:15 -07:00 committed by Dino Radaković
parent 8d664b94be
commit 831bc03504

View File

@ -865,7 +865,7 @@ class Arguments {
}
int size() {
return args_.size() - 1;
return static_cast<int>(args_.size()) - 1;
}
private:
@ -959,7 +959,7 @@ int FuchsiaDeathTest::Wait() {
GTEST_DEATH_TEST_CHECK_(status_zx == ZX_OK);
GTEST_DEATH_TEST_CHECK_(buffer.flags & ZX_INFO_PROCESS_FLAG_EXITED);
set_status(buffer.return_code);
set_status(static_cast<int>(buffer.return_code));
return status();
}