aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-telnet.c
diff options
context:
space:
mode:
authorJörg Mayer <jmayer@loplof.de>2005-08-05 13:10:58 +0000
committerJörg Mayer <jmayer@loplof.de>2005-08-05 13:10:58 +0000
commit2b2506f0f6375a8294461d55e117a183f95ae3a8 (patch)
tree9fabf7e9c531695bf37844742f4b476e93750b8f /epan/dissectors/packet-telnet.c
parentab8601b7fe82bfd5117fc7bfefb6adb5e7c2c615 (diff)
More char -> const char warning fixes
svn path=/trunk/; revision=15222
Diffstat (limited to 'epan/dissectors/packet-telnet.c')
-rw-r--r--epan/dissectors/packet-telnet.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-telnet.c b/epan/dissectors/packet-telnet.c
index 53c4dad07a..5933765f22 100644
--- a/epan/dissectors/packet-telnet.c
+++ b/epan/dissectors/packet-telnet.c
@@ -123,7 +123,7 @@ typedef enum {
/* Member of table of IP or TCP options. */
typedef struct tn_opt {
- char *name; /* name of option */
+ const char *name; /* name of option */
gint *subtree_index; /* pointer to subtree index for option */
tn_opt_len_type len_type; /* type of option length field */
int optlen; /* value length should be (minimum if VARIABLE) */
@@ -1280,7 +1280,7 @@ telnet_sub_option(packet_info *pinfo, proto_tree *telnet_tree, tvbuff_t *tvb, in
static int
telnet_will_wont_do_dont(proto_tree *telnet_tree, tvbuff_t *tvb,
- int start_offset, char *type)
+ int start_offset, const char *type)
{
int offset = start_offset;
guint8 opt_byte;