Skip to content
  • Rob Swindell's avatar
    ea44c50a
    Fix clang warning: implicit conversion from 'long' to 'double' · ea44c50a
    Rob Swindell authored
    changes value from 9223372036854775807 to 9223372036854775808
    [-Wimplicit-const-int-float-conversion]
            if(bytes < 0 || bytes > INT64_MAX)
                                  ~ ^~~~~~~~~
    /usr/include/x86/_stdint.h:90:19: note: expanded from macro 'INT64_MAX'
     #define INT64_MAX       0x7fffffffffffffff
                             ^~~~~~~~~~~~~~~~~~
    ea44c50a
    Fix clang warning: implicit conversion from 'long' to 'double'
    Rob Swindell authored
    changes value from 9223372036854775807 to 9223372036854775808
    [-Wimplicit-const-int-float-conversion]
            if(bytes < 0 || bytes > INT64_MAX)
                                  ~ ^~~~~~~~~
    /usr/include/x86/_stdint.h:90:19: note: expanded from macro 'INT64_MAX'
     #define INT64_MAX       0x7fffffffffffffff
                             ^~~~~~~~~~~~~~~~~~
Loading