Compiler warning: Clang [-Werror,-Wimplicit-const-int-float-conversion]

This commit is contained in:
Shahram Najm 2023-06-22 11:12:54 +01:00
parent ce116a2e98
commit b57b79af78
1 changed files with 1 additions and 1 deletions

View File

@ -115,7 +115,7 @@ static Fraction_type fraction_construct_from_double(double x)
x = 1.0 / (x - a);
if (x > LLONG_MAX) {
if (x > (double)LLONG_MAX) {
break;
}