diff options
author | Anders Broman <anders.broman@ericsson.com> | 2013-03-19 20:00:52 +0000 |
---|---|---|
committer | Anders Broman <anders.broman@ericsson.com> | 2013-03-19 20:00:52 +0000 |
commit | 6bde91807842874d396f80faf5653e5403c249dc (patch) | |
tree | 8dc51d6ec7d1ecb0e5d6f8bed87a43ba01fc10a7 /epan/dissectors/packet-ixveriwave.c | |
parent | 3eb06be97d520daef0bad19bf9c261b01abdc66d (diff) |
From beroset:
remove C++ incompatibilities
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8416
svn path=/trunk/; revision=48426
Diffstat (limited to 'epan/dissectors/packet-ixveriwave.c')
-rw-r--r-- | epan/dissectors/packet-ixveriwave.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-ixveriwave.c b/epan/dissectors/packet-ixveriwave.c index 39c0dd0665..b6df22575e 100644 --- a/epan/dissectors/packet-ixveriwave.c +++ b/epan/dissectors/packet-ixveriwave.c @@ -507,11 +507,11 @@ dissect_ixveriwave(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) /* Calculate the IFG */ /* Check for an existing ifg value associated with the frame */ - p_ifg_info = p_get_proto_data(pinfo->fd, proto_ixveriwave); + p_ifg_info = (ifg_info *)p_get_proto_data(pinfo->fd, proto_ixveriwave); if (!p_ifg_info) { /* allocate the space */ - p_ifg_info = se_alloc0(sizeof(struct ifg_info)); + p_ifg_info = se_new0(struct ifg_info); /* Doesn't exist, so we need to calculate the value */ if (previous_frame_data.previous_frame_num !=0 && (pinfo->fd->num - previous_frame_data.previous_frame_num == 1)) |