mirror of https://github.com/ecmwf/eccodes.git
ECC-1602: Minor change
This commit is contained in:
parent
c5c5ba8017
commit
021de6c4c7
|
@ -579,7 +579,7 @@ static int unpack(grib_accessor* a, T* val, size_t* len)
|
|||
|
||||
nbytes = (bits_per_value + 7) / 8;
|
||||
if (nbytes == 3)
|
||||
nbytes = 4
|
||||
nbytes = 4;
|
||||
|
||||
size = n_vals * nbytes;
|
||||
decoded = (unsigned char*)grib_context_buffer_malloc_clear(a->context, size);
|
||||
|
|
Loading…
Reference in New Issue