diff options
author | Guy Harris <guy@alum.mit.edu> | 2013-07-29 07:30:34 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2013-07-29 07:30:34 +0000 |
commit | 847257a27d8a90b44d62a1c76cccce9f106dfdd6 (patch) | |
tree | 6cb2f0fca8bc2a107733fa4d0de1b87a3e478ed4 /wiretap/catapult_dct2000.c | |
parent | 0c2c7eac71f554243816f637cad9dbe454f1cf24 (diff) | |
download | wireshark-847257a27d8a90b44d62a1c76cccce9f106dfdd6.tar.gz |
Make a never-changed table const.
svn path=/trunk/; revision=51002
Diffstat (limited to 'wiretap/catapult_dct2000.c')
-rw-r--r-- | wiretap/catapult_dct2000.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/wiretap/catapult_dct2000.c b/wiretap/catapult_dct2000.c index 7dd1795ca5..1e540fcd28 100644 --- a/wiretap/catapult_dct2000.c +++ b/wiretap/catapult_dct2000.c @@ -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) { |