mirror of https://github.com/ecmwf/eccodes.git
Cleanup
This commit is contained in:
parent
685c6a0849
commit
0bb62072d1
|
@ -1248,7 +1248,7 @@ static int get_bits_per_value(grib_handle* h, const char* bits_per_value_str, lo
|
|||
* because it has already been changed to second order!
|
||||
* We have to take precision=1 for IEEE which is 32bits
|
||||
*/
|
||||
/* But on 32bit, the most significant bit is for signnedness, so we have to drop one bit */
|
||||
/* Note: on a 32bit system, the most significant bit is for signedness, so we have to drop one bit */
|
||||
if (sizeof(long) == 4) {
|
||||
*bits_per_value = 31;
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue