aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-wps.c
diff options
context:
space:
mode:
authorAnders Broman <anders.broman@ericsson.com>2013-03-19 22:03:00 +0000
committerAnders Broman <anders.broman@ericsson.com>2013-03-19 22:03:00 +0000
commitae747e4c4b34c2d6889df335a439b9fba77538d0 (patch)
tree3586ed7bc3e608af6db8bf6eff87fb3990c45b35 /epan/dissectors/packet-wps.c
parent7c56677cf9e703e6dde30529b24e27dd2a4960a9 (diff)
From beroset:
remove C++ incompatibilities https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8416 svn path=/trunk/; revision=48430
Diffstat (limited to 'epan/dissectors/packet-wps.c')
-rw-r--r--epan/dissectors/packet-wps.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-wps.c b/epan/dissectors/packet-wps.c
index 4427645b3d..11d9815d28 100644
--- a/epan/dissectors/packet-wps.c
+++ b/epan/dissectors/packet-wps.c
@@ -1632,7 +1632,7 @@ dissect_wps_tlvs(proto_tree *eap_tree, tvbuff_t *tvb, int offset,
if ((hf_info != NULL) && hf_info->strings) {
/* item has value_string */
proto_item_append_text(tlv_item, fmt, val_to_str(value,
- hf_info->strings,
+ (value_string *)hf_info->strings,
"Unknown: %d"), value);
} else if (valuep != NULL) {
/* the string-case */