mirror of
https://github.com/google/googletest.git
synced 2024-12-29 03:33:40 +08:00
Googletest export
Fix -Wconversion issues on Fuchsia PiperOrigin-RevId: 368520510
This commit is contained in:
parent
8d664b94be
commit
831bc03504
@ -865,7 +865,7 @@ class Arguments {
|
|||||||
}
|
}
|
||||||
|
|
||||||
int size() {
|
int size() {
|
||||||
return args_.size() - 1;
|
return static_cast<int>(args_.size()) - 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
private:
|
private:
|
||||||
@ -959,7 +959,7 @@ int FuchsiaDeathTest::Wait() {
|
|||||||
GTEST_DEATH_TEST_CHECK_(status_zx == ZX_OK);
|
GTEST_DEATH_TEST_CHECK_(status_zx == ZX_OK);
|
||||||
|
|
||||||
GTEST_DEATH_TEST_CHECK_(buffer.flags & ZX_INFO_PROCESS_FLAG_EXITED);
|
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();
|
return status();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user