aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-ansi_801.c
diff options
context:
space:
mode:
authorulfl <ulfl@f5534014-38df-0310-8fa8-9805f1628bb7>2005-06-26 10:51:56 +0000
committerulfl <ulfl@f5534014-38df-0310-8fa8-9805f1628bb7>2005-06-26 10:51:56 +0000
commitdc4a1066bfb059d35741aa2d505f6c1c2483a852 (patch)
tree595b03f03203ed965ae29bfcb549a84cc47db067 /epan/dissectors/packet-ansi_801.c
parentc0b07059773236b47762532a7def705e60013479 (diff)
packet-ansi_801.c(93) : warning C4090: 'return' : different 'const' qualifiers
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@14770 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-ansi_801.c')
-rw-r--r--epan/dissectors/packet-ansi_801.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/epan/dissectors/packet-ansi_801.c b/epan/dissectors/packet-ansi_801.c
index 0dc32b518a..18cc4c2cfd 100644
--- a/epan/dissectors/packet-ansi_801.c
+++ b/epan/dissectors/packet-ansi_801.c
@@ -80,7 +80,7 @@ static proto_tree *g_tree;
/* FUNCTIONS */
-static gchar *
+static const gchar *
my_match_strval(guint32 val, const value_string *vs, gint *idx)
{
gint i = 0;
@@ -308,7 +308,7 @@ for_request(tvbuff_t *tvb, proto_tree *tree, guint32 *offset_p)
{
guint32 offset;
guint8 oct;
- gchar *str = NULL;
+ const gchar *str = NULL;
gint idx;
proto_tree *subtree;
proto_item *item;
@@ -366,7 +366,7 @@ for_response(tvbuff_t *tvb, proto_tree *tree, guint32 *offset_p)
{
guint32 offset;
guint8 oct;
- gchar *str = NULL;
+ const gchar *str = NULL;
gint idx;
proto_tree *subtree;
proto_item *item;
@@ -429,7 +429,7 @@ rev_request(tvbuff_t *tvb, proto_tree *tree, guint32 *offset_p)
{
guint32 offset;
guint8 oct;
- gchar *str = NULL;
+ const gchar *str = NULL;
gint idx;
proto_tree *subtree;
proto_item *item;
@@ -487,7 +487,7 @@ rev_response(tvbuff_t *tvb, proto_tree *tree, guint32 *offset_p)
{
guint32 offset;
guint8 oct;
- gchar *str = NULL;
+ const gchar *str = NULL;
gint idx;
proto_tree *subtree;
proto_item *item;