From b57b79af78abdd855304ff32fde4091a8fdfef8a Mon Sep 17 00:00:00 2001 From: Shahram Najm Date: Thu, 22 Jun 2023 11:12:54 +0100 Subject: [PATCH] Compiler warning: Clang [-Werror,-Wimplicit-const-int-float-conversion] --- src/grib_gaussian_reduced.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/grib_gaussian_reduced.cc b/src/grib_gaussian_reduced.cc index 12f616c02..8ba2ed088 100644 --- a/src/grib_gaussian_reduced.cc +++ b/src/grib_gaussian_reduced.cc @@ -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; }