diff options
Diffstat (limited to 'absl')
-rw-r--r-- | absl/base/BUILD.bazel | 4 | ||||
-rw-r--r-- | absl/base/call_once.h | 4 |
2 files changed, 5 insertions, 3 deletions
diff --git a/absl/base/BUILD.bazel b/absl/base/BUILD.bazel index 9bb7bfa..ac6ffc4 100644 --- a/absl/base/BUILD.bazel +++ b/absl/base/BUILD.bazel @@ -216,7 +216,9 @@ cc_library( testonly = 1, hdrs = ["internal/exception_testing.h"], copts = ABSL_TEST_COPTS, - visibility = ["//absl:__subpackages__"], + visibility = [ + "//absl:__subpackages__", + ], deps = [ ":config", "@com_google_googletest//:gtest", diff --git a/absl/base/call_once.h b/absl/base/call_once.h index b5fbeae..fa2a536 100644 --- a/absl/base/call_once.h +++ b/absl/base/call_once.h @@ -152,10 +152,10 @@ void CallOnceImpl(std::atomic<uint32_t>* control, old_control != kOnceDone) { ABSL_RAW_LOG( FATAL, - "Unexpected value for control word: %d. Either the control word " + "Unexpected value for control word: %x. Either the control word " "has non-static storage duration (where GoogleOnceDynamic might " "be appropriate), or there's been a memory corruption.", - old_control); + static_cast<unsigned>(old_control)); } } #endif // NDEBUG |