Add an explicit cast from int64_t to double

A double cannot hold all of the values that an int64_t can hold, and
this is certainly true for the max() and min() values. Adding a cast
suppresses a new VC++ warning and makes it explicit that some rounding
is going on.

Change-Id: I8373f6784360a0c71ed3f27fc21aec4bc8c1e77f
Reviewed-on: https://chromium-review.googlesource.com/1053730
Commit-Queue: Yuri Wiitala <miu@chromium.org>
Reviewed-by: Yuri Wiitala <miu@chromium.org>
Cr-Commit-Position: refs/heads/master@{#558838}

CrOS-Libchrome-Original-Commit: e90956437d28fe60c9b3ecb6677d97040d17f73c
1 file changed
tree: c66f8a1426077e5a2a0714ec9384888bc4d064b9
  1. base/
  2. build/
  3. components/
  4. dbus/
  5. device/
  6. ipc/
  7. mojo/
  8. testing/
  9. third_party/
  10. ui/