Commit ad598aba authored by Thomas Jahns's avatar Thomas Jahns 🤸
Browse files

Fix implicit conversion.

parent 68537fab
......@@ -500,7 +500,7 @@ void gribapiAddRecord(stream_t * streamptr, int param, grib_handle *gh,
grib_get_double(gh, "Latin1InDegrees", &lat_1);
grib_get_double(gh, "Latin2InDegrees", &lat_2);
grib_get_long(gh, "projectionCentreFlag", &projflag);
bool lsouth = gribbyte_get_bit(projflag, 1);
bool lsouth = gribbyte_get_bit((int)projflag, 1);
if ( lsouth ) { lat_1 = -lat_1; lat_2 = -lat_2; }
double lat_0 = lat_2;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment