aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-x25.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-x25.c
parentab8601b7fe82bfd5117fc7bfefb6adb5e7c2c615 (diff)
More char -> const char warning fixes
svn path=/trunk/; revision=15222
Diffstat (limited to 'epan/dissectors/packet-x25.c')
-rw-r--r--epan/dissectors/packet-x25.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/epan/dissectors/packet-x25.c b/epan/dissectors/packet-x25.c
index 4d4db4f9ca..76fe9515a6 100644
--- a/epan/dissectors/packet-x25.c
+++ b/epan/dissectors/packet-x25.c
@@ -269,7 +269,7 @@ x25_hash_add_proto_end(guint16 vc, guint32 frame)
close_circuit(circuit, frame);
}
-static char *clear_code(unsigned char code)
+static const char *clear_code(unsigned char code)
{
static char buffer[25];
@@ -307,7 +307,7 @@ static char *clear_code(unsigned char code)
return buffer;
}
-static char *clear_diag(unsigned char code)
+static const char *clear_diag(unsigned char code)
{
static char buffer[25];
@@ -534,7 +534,7 @@ static char *clear_diag(unsigned char code)
return buffer;
}
-static char *reset_code(unsigned char code)
+static const char *reset_code(unsigned char code)
{
static char buffer[25];
@@ -562,7 +562,7 @@ static char *reset_code(unsigned char code)
return buffer;
}
-static char *restart_code(unsigned char code)
+static const char *restart_code(unsigned char code)
{
static char buffer[25];
@@ -582,7 +582,7 @@ static char *restart_code(unsigned char code)
return buffer;
}
-static char *registration_code(unsigned char code)
+static const char *registration_code(unsigned char code)
{
static char buffer[25];
@@ -1482,7 +1482,7 @@ dissect_x25_common(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree,
gboolean toa; /* TOA/NPI address format */
guint16 bytes0_1;
guint8 pkt_type;
- char *short_name = NULL, *long_name = NULL;
+ const char *short_name = NULL, *long_name = NULL;
tvbuff_t *next_tvb = NULL;
gboolean q_bit_set = FALSE;
gboolean m_bit_set;