Make a never-changed table const.

svn path=/trunk/; revision=51002
This commit is contained in:
Guy Harris 2013-07-29 07:30:34 +00:00
parent 0c2c7eac71
commit 847257a27d
1 changed files with 1 additions and 1 deletions

View File

@ -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) {