From 7b3c38a0628b9201ce92a6893b96890b64e5daa8 Mon Sep 17 00:00:00 2001 From: Abseil Team Date: Fri, 30 Mar 2018 13:35:58 -0700 Subject: - f1b5ee8ff389dead0ba5671ad564a46aa1e8d216 Using %d with a uint32_t appears to work on some compiler... by Abseil Team - f8fabe263281d0f57692b1e72014c34dc8a85340 Internal change. by Abseil Team GitOrigin-RevId: f1b5ee8ff389dead0ba5671ad564a46aa1e8d216 Change-Id: I207dfc6ba2cd55653652e6bfc9d3699a9e114c1d --- absl/base/call_once.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'absl/base/call_once.h') 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* 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(old_control)); } } #endif // NDEBUG -- cgit v1.2.3