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