Fixed implicit long to double conversion warning.

error: implicit conversion from 'long' to 'double' changes value from
    9223372036854775807 to 9223372036854775808.
1 file changed