diff options
author | Anders Broman <anders.broman@ericsson.com> | 2013-03-15 16:39:30 +0000 |
---|---|---|
committer | Anders Broman <anders.broman@ericsson.com> | 2013-03-15 16:39:30 +0000 |
commit | 54eb4a6cec06d7f9e9990d144974fe98c42ea627 (patch) | |
tree | 5e9085d15461af1cc491f7b5b80972152ec4c1da /epan/dissectors/packet-bmc.c | |
parent | 94d102adb4e6e9d431a1f42777c0146a55363d15 (diff) |
[-Wmissing-prototypes]
Use explicit casts.
svn path=/trunk/; revision=48319
Diffstat (limited to 'epan/dissectors/packet-bmc.c')
-rw-r--r-- | epan/dissectors/packet-bmc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-bmc.c b/epan/dissectors/packet-bmc.c index 3a9d768df1..ce6fe858d3 100644 --- a/epan/dissectors/packet-bmc.c +++ b/epan/dissectors/packet-bmc.c @@ -103,7 +103,7 @@ dissect_bmc(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data _U_) /* Needs bit-reversing. Create a new buffer, copy the message to it and bit-reverse */ len = tvb_length(tvb); - reversing_buffer = ep_tvb_memdup(tvb, offset, len); + reversing_buffer = (guint8 *)ep_tvb_memdup(tvb, offset, len); p_rev = reversing_buffer; /* Entire message is bit reversed */ for (i=0; i<len; i++, p_rev++) |