diff options
author | Ulf Lamping <ulf.lamping@web.de> | 2005-06-26 10:45:25 +0000 |
---|---|---|
committer | Ulf Lamping <ulf.lamping@web.de> | 2005-06-26 10:45:25 +0000 |
commit | c660aa2e548d039d028a56a655c9d643c8867cbe (patch) | |
tree | dbc84c61e9322a19c5e274c9179c60aef950be86 /epan/dissectors/packet-ansi_637.c | |
parent | 5b9f563924fff89ad3de10fb1230a096c80e1dac (diff) |
packet-ansi_637.c(288) : warning C4090: 'return' : different 'const' qualifiers
svn path=/trunk/; revision=14768
Diffstat (limited to 'epan/dissectors/packet-ansi_637.c')
-rw-r--r-- | epan/dissectors/packet-ansi_637.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/epan/dissectors/packet-ansi_637.c b/epan/dissectors/packet-ansi_637.c index f741e63e74..142832c742 100644 --- a/epan/dissectors/packet-ansi_637.c +++ b/epan/dissectors/packet-ansi_637.c @@ -275,7 +275,7 @@ decode_7_bits(tvbuff_t *tvb, guint32 *offset, guint8 num_fields, guint8 *last_oc *last_oct = (bit == 1) ? oct : oct2; } -static gchar * +static const gchar * my_match_strval(guint32 val, const value_string *vs, gint *idx) { gint i = 0; @@ -1492,7 +1492,7 @@ dissect_ansi_637_tele_param(tvbuff_t *tvb, proto_tree *tree, guint32 *offset) gint ett_param_idx, idx; proto_tree *subtree; proto_item *item; - gchar *str = NULL; + const gchar *str = NULL; curr_offset = *offset; @@ -1668,7 +1668,7 @@ dissect_ansi_637_trans_param(tvbuff_t *tvb, proto_tree *tree, guint32 *offset) gint ett_param_idx, idx; proto_tree *subtree; proto_item *item; - gchar *str = NULL; + const gchar *str = NULL; curr_offset = *offset; @@ -1735,7 +1735,7 @@ dissect_ansi_637_trans(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) proto_tree *ansi_637_tree = NULL; guint32 curr_offset; gint idx; - gchar *str = NULL; + const gchar *str = NULL; guint8 oct; guint8 len; |