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
tree: aac450adca6267cef86ca0503475caa4eed0e22e
  1. base/
  2. build/
  3. components/
  4. dbus/
  5. device/
  6. ipc/
  7. mojo/
  8. testing/
  9. third_party/
  10. ui/