| Index: base/logging.h
|
| diff --git a/base/logging.h b/base/logging.h
|
| index 13661a764436c132813c0dc46032714804d5262b..b1075a456eebab479ef56c84efb406ef8527de94 100644
|
| --- a/base/logging.h
|
| +++ b/base/logging.h
|
| @@ -510,9 +510,9 @@ class CheckOpResult {
|
| // TODO(scottmg): Reinvestigate a short sequence that will work on both
|
| // compilers once clang supports more intrinsics. See https://crbug.com/693713.
|
| #if defined(__clang__)
|
| -#define IMMEDIATE_CRASH() \
|
| - (__debugbreak(), \
|
| - (void)(*reinterpret_cast<volatile unsigned char*>(0) = __COUNTER__))
|
| +#define IMMEDIATE_CRASH() \
|
| + (__debugbreak(), (void)(*reinterpret_cast<volatile unsigned char*>(0) = \
|
| + static_cast<unsigned char>(__COUNTER__)))
|
| #else
|
| #define IMMEDIATE_CRASH() __debugbreak()
|
| #endif // __clang__
|
|
|