aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-alcap.c
diff options
context:
space:
mode:
authorulfl <ulfl@f5534014-38df-0310-8fa8-9805f1628bb7>2005-06-26 10:41:38 +0000
committerulfl <ulfl@f5534014-38df-0310-8fa8-9805f1628bb7>2005-06-26 10:41:38 +0000
commitf45c47dbcd0a29d5a9b07645b8715bbd35b77a52 (patch)
treedd1fec36980281644ca11c35592d3ffea47fcc02 /epan/dissectors/packet-alcap.c
parent7c72bcb50b5f86cf0b8e6553d36da9bd86254134 (diff)
packet-alcap.c(195) : warning C4090: 'return' : different 'const' qualifiers
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@14767 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-alcap.c')
-rw-r--r--epan/dissectors/packet-alcap.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/epan/dissectors/packet-alcap.c b/epan/dissectors/packet-alcap.c
index 0a7e2f39a6..cdf52f52b9 100644
--- a/epan/dissectors/packet-alcap.c
+++ b/epan/dissectors/packet-alcap.c
@@ -183,7 +183,7 @@ static const value_string msg_type_strings[] = {
/* FUNCTIONS */
-static gchar *
+static const gchar *
my_match_strval(guint32 val, const value_string *vs, gint *idx)
{
gint i = 0;
@@ -1182,7 +1182,7 @@ dis_field_diagnostics(tvbuff_t *tvb, proto_tree *tree, guint *len, guint32 *offs
proto_item *item;
proto_tree *subtree;
guint8 parm_len;
- gchar *str = NULL;
+ const gchar *str = NULL;
gint idx;
guint8 i;
@@ -1511,7 +1511,7 @@ dissect_alcap_parms(tvbuff_t *tvb, proto_tree *tree, guint32 offset, guint32 len
guint8 parm_len;
guint32 curr_offset, saved_offset;
gint idx;
- gchar *str = NULL;
+ const gchar *str = NULL;
proto_item *item;
proto_tree *subtree;
gint ett_parm_idx;
@@ -1587,7 +1587,7 @@ dissect_alcap_message(tvbuff_t *tvb, packet_info *pinfo, proto_tree *alcap_tree)
guint32 offset;
guint8 msg_type;
gint idx;
- gchar *str = NULL;
+ const gchar *str = NULL;
offset = 0;