aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-mle.c
diff options
context:
space:
mode:
Diffstat (limited to 'epan/dissectors/packet-mle.c')
-rw-r--r--epan/dissectors/packet-mle.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-mle.c b/epan/dissectors/packet-mle.c
index ef9012ef13..a498c4a4b8 100644
--- a/epan/dissectors/packet-mle.c
+++ b/epan/dissectors/packet-mle.c
@@ -459,8 +459,8 @@ dissect_mle_decrypt(tvbuff_t * tvb,
DISSECTOR_ASSERT(pinfo->src.len == 16);
DISSECTOR_ASSERT(pinfo->dst.len == 16);
- memcpy(d_a, (const guint8 *)pinfo->src.data, pinfo->src.len);
- memcpy(d_a+16, (const guint8 *)pinfo->dst.data, pinfo->dst.len);
+ memcpy(d_a, pinfo->src.data, pinfo->src.len);
+ memcpy(d_a+16, pinfo->dst.data, pinfo->dst.len);
tvb_memcpy(tvb, d_a+32, payload_info->aux_offset, payload_info->aux_length);
l_a = 32 + payload_info->aux_length;