diff options
author | Anders Broman <anders.broman@ericsson.com> | 2013-03-12 06:41:00 +0000 |
---|---|---|
committer | Anders Broman <anders.broman@ericsson.com> | 2013-03-12 06:41:00 +0000 |
commit | 2cc00294c79fa9e9815a66f1ca39c58c111b3d4d (patch) | |
tree | 584990d6f8559709c00b80d4d40d29dd24d6bec4 /epan/dissectors/packet-meta.c | |
parent | d0efafbcb19e7fb03662117d5ce393d1f4615a2e (diff) |
Use explicit casts.
svn path=/trunk/; revision=48260
Diffstat (limited to 'epan/dissectors/packet-meta.c')
-rw-r--r-- | epan/dissectors/packet-meta.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-meta.c b/epan/dissectors/packet-meta.c index 8158220e81..4ca6b5521f 100644 --- a/epan/dissectors/packet-meta.c +++ b/epan/dissectors/packet-meta.c @@ -400,9 +400,9 @@ static guint16 evaluate_meta_item_dxt(proto_tree *meta_tree, tvbuff_t *tvb, pack break; case META_ID_AAL5PROTO: aal5proto = tvb_get_guint8(tvb, offs); - p_sscop_info = p_get_proto_data(pinfo->fd, proto_sscop); + p_sscop_info = (sscop_payload_info *)p_get_proto_data(pinfo->fd, proto_sscop); if (!p_sscop_info) { - p_sscop_info = se_alloc0(sizeof(sscop_payload_info)); + p_sscop_info = se_new0(sscop_payload_info); p_add_proto_data(pinfo->fd, proto_sscop, p_sscop_info); } switch (aal5proto) { |