forked from osmocom/wireshark
Make a never-changed table const.
svn path=/trunk/; revision=51002
This commit is contained in:
parent
0c2c7eac71
commit
847257a27d
|
@ -1521,7 +1521,7 @@ static guint8 hex_byte_from_chars(gchar *c)
|
|||
static gchar
|
||||
char_from_hex(guint8 hex)
|
||||
{
|
||||
static char hex_lookup[16] =
|
||||
static const char hex_lookup[16] =
|
||||
{ '0','1','2','3','4','5','6','7','8','9','a','b','c','d','e','f'};
|
||||
|
||||
if (hex > 15) {
|
||||
|
|
Loading…
Reference in New Issue