aboutsummaryrefslogtreecommitdiffstats
path: root/epan
diff options
context:
space:
mode:
authorUlf Lamping <ulf.lamping@web.de>2005-06-26 10:58:32 +0000
committerUlf Lamping <ulf.lamping@web.de>2005-06-26 10:58:32 +0000
commita96c3b0f73fecce6d62a94b781550f918df835c8 (patch)
tree5899122d989ba0fe290b2e04f96d9fc7a9d64318 /epan
parentac5e6ff1c631903f2203fc07110813561532c8a0 (diff)
packet-ansi_map.c(760) : warning C4090: 'return' : different 'const' qualifiers
svn path=/trunk/; revision=14772
Diffstat (limited to 'epan')
-rw-r--r--epan/dissectors/packet-ansi_map.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/epan/dissectors/packet-ansi_map.c b/epan/dissectors/packet-ansi_map.c
index bf4710db16..621f9051c4 100644
--- a/epan/dissectors/packet-ansi_map.c
+++ b/epan/dissectors/packet-ansi_map.c
@@ -747,7 +747,7 @@ my_dgt_tbcd_unpack(
return(cnt);
}
-static gchar *
+static const gchar *
my_match_strval(guint32 val, const value_string *vs, gint *idx)
{
gint i = 0;
@@ -3331,7 +3331,7 @@ param_faulty(ASN1_SCK *asn1, proto_tree *tree, guint len, gchar *add_string)
{
gint32 value;
guint saved_offset;
- gchar *str = NULL;
+ const gchar *str = NULL;
gint idx;
add_string = add_string;
@@ -6675,7 +6675,7 @@ dissect_cdma2000_ios_data(ASN1_SCK *asn1, proto_tree *tree, guint len, gchar *ad
guint32 orig_offset, saved_offset;
proto_tree *subtree;
proto_item *item;
- gchar *str;
+ const gchar *str;
gint idx;
num_elems = 0;
@@ -12720,7 +12720,7 @@ dissect_ansi_param(ASN1_SCK *asn1, proto_tree *tree)
proto_tree *subtree;
proto_item *item;
guint val;
- gchar *str = NULL;
+ const gchar *str = NULL;
gint ett_param_idx, idx;
gboolean def_len;