aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-bgp.c
diff options
context:
space:
mode:
authorJörg Mayer <jmayer@loplof.de>2005-07-28 07:53:38 +0000
committerJörg Mayer <jmayer@loplof.de>2005-07-28 07:53:38 +0000
commit34493e8f9e462b75bf3814fb8927cc5824f3d49b (patch)
tree64768c56b323212499a379cdaf68365fd6ee916e /epan/dissectors/packet-bgp.c
parentf5b39c3ef91f5df758f5b52ca506d055594de639 (diff)
char -> const char warning fixes
svn path=/trunk/; revision=15126
Diffstat (limited to 'epan/dissectors/packet-bgp.c')
-rw-r--r--epan/dissectors/packet-bgp.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/epan/dissectors/packet-bgp.c b/epan/dissectors/packet-bgp.c
index 13297075c8..6ca5173532 100644
--- a/epan/dissectors/packet-bgp.c
+++ b/epan/dissectors/packet-bgp.c
@@ -381,7 +381,7 @@ static gint bgp_asn_len = 0;
*/
static int
decode_prefix4(proto_tree *tree, int hf_addr, tvbuff_t *tvb, gint offset,
- guint16 tlen, char *tag)
+ guint16 tlen, const char *tag)
{
proto_item *ti;
proto_tree *prefix_tree;
@@ -423,7 +423,7 @@ decode_prefix4(proto_tree *tree, int hf_addr, tvbuff_t *tvb, gint offset,
*/
static int
decode_prefix6(proto_tree *tree, int hf_addr, tvbuff_t *tvb, gint offset,
- guint16 tlen, char *tag)
+ guint16 tlen, const char *tag)
{
proto_item *ti;
proto_tree *prefix_tree;
@@ -635,7 +635,7 @@ mp_addr_to_str (guint16 afi, guint8 safi, tvbuff_t *tvb, gint offset, GString *b
*/
static int
decode_prefix_MP(proto_tree *tree, int hf_addr4, int hf_addr6,
- guint16 afi, guint8 safi, tvbuff_t *tvb, gint offset, char *tag)
+ guint16 afi, guint8 safi, tvbuff_t *tvb, gint offset, const char *tag)
{
int start_offset = offset;
proto_item *ti;