aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-wps.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2014-01-14 08:12:45 +0000
committerGuy Harris <guy@alum.mit.edu>2014-01-14 08:12:45 +0000
commit4a82c3b60b358ed67d3e2492aa6a93e115242d21 (patch)
tree6ef8009349edfe70d9bb4d261270369e5e8d7e3a /epan/dissectors/packet-wps.c
parentdc7103456583b9368f69fe87548113f79892a833 (diff)
Don't cast away constness.
svn path=/trunk/; revision=54774
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 8b51bffcad..64837b91c2 100644
--- a/epan/dissectors/packet-wps.c
+++ b/epan/dissectors/packet-wps.c
@@ -1638,7 +1638,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,
- (value_string *)hf_info->strings,
+ (const value_string *)hf_info->strings,
"Unknown: %d"), value);
} else if (valuep != NULL) {
/* the string-case */