aboutsummaryrefslogtreecommitdiffstats
path: root/epan/value_string.c
diff options
context:
space:
mode:
authorAnders Broman <anders.broman@ericsson.com>2013-03-15 16:39:30 +0000
committerAnders Broman <anders.broman@ericsson.com>2013-03-15 16:39:30 +0000
commit54eb4a6cec06d7f9e9990d144974fe98c42ea627 (patch)
tree5e9085d15461af1cc491f7b5b80972152ec4c1da /epan/value_string.c
parent94d102adb4e6e9d431a1f42777c0146a55363d15 (diff)
[-Wmissing-prototypes]
Use explicit casts. svn path=/trunk/; revision=48319
Diffstat (limited to 'epan/value_string.c')
-rw-r--r--epan/value_string.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/epan/value_string.c b/epan/value_string.c
index a1faef4c18..687a6ff938 100644
--- a/epan/value_string.c
+++ b/epan/value_string.c
@@ -313,6 +313,8 @@ _match_strval_ext_init(const guint32 val, const value_string_ext *a_vse)
g_assert(vs_p[i].strptr != NULL);
if ((type == VS_INDEX) && (vs_p[i].value != (i + first_value))) {
type = VS_BIN_TREE;
+ g_warning("Extended value string: %s; accessing binary (%u/%u)",
+ vse->_vs_name, prev_value, vs_p[i].value);
}
/* XXX: Should check for dups ?? */
if ((type == VS_BIN_TREE) &&