Skip to content

Commit

Permalink
Googletest export
Browse files Browse the repository at this point in the history
Fix -Wconversion issues on Fuchsia

PiperOrigin-RevId: 368520510
  • Loading branch information
Abseil Team authored and dinord committed Apr 16, 2021
1 parent 8d664b9 commit 831bc03
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions googletest/src/gtest-death-test.cc
Expand Up @@ -865,7 +865,7 @@ class Arguments {
}

int size() {
return args_.size() - 1;
return static_cast<int>(args_.size()) - 1;
}

private:
Expand Down Expand Up @@ -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();
}

Expand Down

0 comments on commit 831bc03

Please sign in to comment.