diff options
author | wmeier <wmeier@f5534014-38df-0310-8fa8-9805f1628bb7> | 2011-02-01 14:30:24 +0000 |
---|---|---|
committer | wmeier <wmeier@f5534014-38df-0310-8fa8-9805f1628bb7> | 2011-02-01 14:30:24 +0000 |
commit | 40b4165e8259f7d9f00a57b377c45f966894c772 (patch) | |
tree | 587c8c5802ee2fd1d2f23aecc806c1633e0a342a /epan/dissectors/packet-netbios.c | |
parent | 77b75ddef280f3954cb81ee9827c63446e1da909 (diff) |
Use {'0', ...} type initializer for fixed length character arrays.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@35741 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-netbios.c')
-rw-r--r-- | epan/dissectors/packet-netbios.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-netbios.c b/epan/dissectors/packet-netbios.c index ccd140e44b..2b72afb790 100644 --- a/epan/dissectors/packet-netbios.c +++ b/epan/dissectors/packet-netbios.c @@ -281,7 +281,7 @@ process_netbios_name(const guchar *name_ptr, char *name_ret, int name_ret_len) int i; int name_type = *(name_ptr + NETBIOS_NAME_LEN - 1); guchar name_char; - static const char hex_digits[16] = "0123456789abcdef"; + static const char hex_digits[16] = {'0','1','2','3','4','5','6','7','8','9','a','b','c','d','e','f'}; for (i = 0; i < NETBIOS_NAME_LEN - 1; i++) { name_char = *name_ptr++; |