Fix win-clang build
In base/logging.h, __COUNTER__ is used in IMMEDIATE_CRASH. This value
could be larger than 255. clang-cl is complaining that "implicit
conversion from 'int' to 'unsigned char' changes value from 256 to 0"
when __COUNTER__ reaches 256.
To make binary smaller, we cast __COUNTER__ to unsigned char
instead of assigning it to int*.
TBR=thakis
Review-Url: https://codereview.chromium.org/2706143002
Cr-Commit-Position: refs/heads/master@{#451705}
CrOS-Libchrome-Original-Commit: 7d988be5bc1966437c64ea465b1144644003472f
1 file changed