aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-rsh.c
diff options
context:
space:
mode:
authorAnders Broman <anders.broman@ericsson.com>2013-03-19 22:03:00 +0000
committerAnders Broman <anders.broman@ericsson.com>2013-03-19 22:03:00 +0000
commitae747e4c4b34c2d6889df335a439b9fba77538d0 (patch)
tree3586ed7bc3e608af6db8bf6eff87fb3990c45b35 /epan/dissectors/packet-rsh.c
parent7c56677cf9e703e6dde30529b24e27dd2a4960a9 (diff)
From beroset:
remove C++ incompatibilities https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8416 svn path=/trunk/; revision=48430
Diffstat (limited to 'epan/dissectors/packet-rsh.c')
-rw-r--r--epan/dissectors/packet-rsh.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-rsh.c b/epan/dissectors/packet-rsh.c
index 84d01ae2a3..18ee0cd34b 100644
--- a/epan/dissectors/packet-rsh.c
+++ b/epan/dissectors/packet-rsh.c
@@ -121,9 +121,9 @@ dissect_rsh(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
/* Retrieve information from conversation
* or add it if it isn't there yet
*/
- hash_info = conversation_get_proto_data(conversation, proto_rsh);
+ hash_info = (rsh_hash_entry_t *)conversation_get_proto_data(conversation, proto_rsh);
if(!hash_info){
- hash_info = se_alloc(sizeof(rsh_hash_entry_t));
+ hash_info = se_new(rsh_hash_entry_t);
hash_info->first_packet_number = pinfo->fd->num;
hash_info->second_packet_number = 0;