From a5cee46ba98f17cb6f7e24240cec4cd4e3b8b631 Mon Sep 17 00:00:00 2001 From: Pablo Barciela Date: Mon, 14 Feb 2022 11:28:13 +0100 Subject: libqcdm,commands: 'const' instead 'static' in 'char' variable --- libqcdm/src/commands.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libqcdm') diff --git a/libqcdm/src/commands.c b/libqcdm/src/commands.c index a97cb9af..cd21281c 100644 --- a/libqcdm/src/commands.c +++ b/libqcdm/src/commands.c @@ -156,7 +156,7 @@ nv_mode_pref_from_qcdm (uint8_t qcdm) static char * bin2hexstr (const uint8_t *bytes, int len) { - static char hex_digits[] = "0123456789abcdef"; + const char hex_digits[] = "0123456789abcdef"; char *result; int i; size_t buflen = (len * 2) + 1; -- cgit v1.2.3-70-g09d2