diff options
author | Pablo Barciela <scow@riseup.net> | 2022-02-14 11:28:13 +0100 |
---|---|---|
committer | Pablo Barciela <scow@riseup.net> | 2022-02-14 12:44:51 +0100 |
commit | a5cee46ba98f17cb6f7e24240cec4cd4e3b8b631 (patch) | |
tree | 06ddd2cd4c178031d1adb7d3eb217f0a644d94e3 /libqcdm | |
parent | 839af5553fb753bb3162997283e9b713f8c12dc8 (diff) |
libqcdm,commands: 'const' instead 'static' in 'char' variable
Diffstat (limited to 'libqcdm')
-rw-r--r-- | libqcdm/src/commands.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |