diff options
author | Bill Meier <wmeier@newsguy.com> | 2011-01-31 21:45:16 +0000 |
---|---|---|
committer | Bill Meier <wmeier@newsguy.com> | 2011-01-31 21:45:16 +0000 |
commit | 51bae2f9f8102818a0e41834494295b9d2a2301f (patch) | |
tree | 16cf688dc1d51e167a918ee0cef74e478e2a9b8d /epan/dissectors/packet-ansi_683.c | |
parent | fa8fb80f531da98c77c9c6ab00e510c6ff6fcfe5 (diff) | |
download | wireshark-51bae2f9f8102818a0e41834494295b9d2a2301f.tar.gz wireshark-51bae2f9f8102818a0e41834494295b9d2a2301f.tar.bz2 wireshark-51bae2f9f8102818a0e41834494295b9d2a2301f.zip |
Use {'0', ...} type initializer for fixed length character arrays.
svn path=/trunk/; revision=35735
Diffstat (limited to 'epan/dissectors/packet-ansi_683.c')
-rw-r--r-- | epan/dissectors/packet-ansi_683.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/epan/dissectors/packet-ansi_683.c b/epan/dissectors/packet-ansi_683.c index 642c1a253d..6b481a15db 100644 --- a/epan/dissectors/packet-ansi_683.c +++ b/epan/dissectors/packet-ansi_683.c @@ -92,9 +92,8 @@ static dissector_handle_t data_handle; static packet_info *g_pinfo; static proto_tree *g_tree; -static const char dtmf_digits[16] = "?1234567890?????"; -static const char bcd_digits[16] = "0123456789??????"; - +static const char dtmf_digits[16] = {'?','1','2','3','4','5','6','7','8','9','0','?','?','?','?','?'}; +static const char bcd_digits[16] = {'0','1','2','3','4','5','6','7','8','9','?','?','?','?','?','?'}; /* FUNCTIONS */ |