• Binbin's avatar
    Fix long long to double implicit conversion warning (#10595) · fe4b4806
    Binbin authored
    
    
    There is a implicit conversion warning in clang:
    ```
    util.c:574:23: error: implicit conversion from 'long long' to 'double'
    changes value from -4611686018427387903 to -4611686018427387904
    [-Werror,-Wimplicit-const-int-float-conversion]
        if (d < -LLONG_MAX/2 || d > LLONG_MAX/2)
    ```
    
    introduced in #10486
    Co-authored-by: default avatarsundb <sundbcn@gmail.com>
    fe4b4806
util.c 33 KB