Googletest export

Fix -Wconversion issues on Fuchsia

PiperOrigin-RevId: 368520510
pull/3370/head
Abseil Team 4 years ago committed by Dino Radaković
parent 8d664b94be
commit 831bc03504
  1. 4
      googletest/src/gtest-death-test.cc

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

Loading…
Cancel
Save