From 021de6c4c796538e7f7d25d32a9799200cbbbc10 Mon Sep 17 00:00:00 2001 From: Eugen Betke Date: Thu, 1 Jun 2023 12:45:21 +0000 Subject: [PATCH] ECC-1602: Minor change --- src/grib_accessor_class_data_ccsds_packing.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/grib_accessor_class_data_ccsds_packing.cc b/src/grib_accessor_class_data_ccsds_packing.cc index c09e9bee5..a47974649 100644 --- a/src/grib_accessor_class_data_ccsds_packing.cc +++ b/src/grib_accessor_class_data_ccsds_packing.cc @@ -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);