lib/roken: fix hex digit table initializer
This commit is contained in:
committed by
Nico Williams
parent
5b90bc8285
commit
6bb4ff842d
+4
-1
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user