mirror of https://github.com/ecmwf/eccodes.git
Compiler warning: Clang [-Werror,-Wimplicit-const-int-float-conversion]
This commit is contained in:
parent
ce116a2e98
commit
b57b79af78
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue