lib/roken: fix hex digit table initializer

This commit is contained in:
Roland C. Dowdeswell
2026-06-30 13:13:37 +01:00
committed by Nico Williams
parent 5b90bc8285
commit 6bb4ff842d
+4 -1
View File
@@ -37,7 +37,10 @@
#include <ctype.h>
#include "hex.h"
static const char hexchar[16] = "0123456789ABCDEF";
static const char hexchar[16] = {
'0', '1', '2', '3', '4', '5', '6', '7',
'8', '9', 'A', 'B', 'C', 'D', 'E', 'F'
};
static inline int
pos(char c)