aboutsummaryrefslogtreecommitdiff
path: root/absl/log/internal/test_helpers.cc
diff options
context:
space:
mode:
authorAbseil Team <absl-team@google.com>2022-10-17 15:40:12 -0700
committerCopybara-Service <copybara-worker@google.com>2022-10-17 15:41:03 -0700
commit94433ef0615616b1ccb8b2193bde777c10406ac0 (patch)
tree9e1f282cc0ff5603929431774320db3fe2fdeb21 /absl/log/internal/test_helpers.cc
parent6b2d248d3e9fb5f07ea4a65a6d0923726854d446 (diff)
downloadabseil-94433ef0615616b1ccb8b2193bde777c10406ac0.tar.gz
abseil-94433ef0615616b1ccb8b2193bde777c10406ac0.tar.bz2
abseil-94433ef0615616b1ccb8b2193bde777c10406ac0.zip
Fix various warnings for _WIN32.
Bug: chromium:1292951 PiperOrigin-RevId: 481757795 Change-Id: I03c808222c6c4d3d7052576ab4b36141e5f1ebbc
Diffstat (limited to 'absl/log/internal/test_helpers.cc')
-rw-r--r--absl/log/internal/test_helpers.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/absl/log/internal/test_helpers.cc b/absl/log/internal/test_helpers.cc
index bff5cc17..0de5b96b 100644
--- a/absl/log/internal/test_helpers.cc
+++ b/absl/log/internal/test_helpers.cc
@@ -46,7 +46,7 @@ bool DiedOfFatal(int exit_status) {
// Depending on NDEBUG and (configuration?) MSVC's abort either results
// in error code 3 (SIGABRT) or error code 0x80000003 (breakpoint
// triggered).
- return ::testing::ExitedWithCode(3)(exit_status & ~0x80000000);
+ return ::testing::ExitedWithCode(3)(exit_status & 0x7fffffff);
#elif defined(__Fuchsia__)
// The Fuchsia death test implementation kill()'s the process when it detects
// an exception, so it should exit with the corresponding code. See