From 5b3a392eecb0c6c19556663eb19425011cde0970 Mon Sep 17 00:00:00 2001 From: shahramn Date: Mon, 11 Nov 2024 12:35:16 +0000 Subject: [PATCH] Const correctness --- src/accessor/grib_accessor_class_expanded_descriptors.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/accessor/grib_accessor_class_expanded_descriptors.cc b/src/accessor/grib_accessor_class_expanded_descriptors.cc index 6acb4e878..1e3733256 100644 --- a/src/accessor/grib_accessor_class_expanded_descriptors.cc +++ b/src/accessor/grib_accessor_class_expanded_descriptors.cc @@ -58,7 +58,7 @@ void grib_accessor_expanded_descriptors_t::init(const long len, grib_arguments* #if MYDEBUG static int global_depth = -1; -static char* descriptor_type_name(int dtype) +static const char* descriptor_type_name(int dtype) { switch (dtype) { case BUFR_DESCRIPTOR_TYPE_STRING: