From d369ee8c053e8489750a0a9dad813dd9df2d7889 Mon Sep 17 00:00:00 2001 From: Chris Maynard Date: Thu, 14 Nov 2013 21:20:49 +0000 Subject: [PATCH] Cast the return value of conversation_get_proto_data() to whois_transaction_t *. svn path=/trunk/; revision=53318 --- epan/dissectors/packet-whois.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/epan/dissectors/packet-whois.c b/epan/dissectors/packet-whois.c index b47f9363b0..805a7d5c7e 100755 --- a/epan/dissectors/packet-whois.c +++ b/epan/dissectors/packet-whois.c @@ -73,7 +73,7 @@ dissect_whois(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, } conversation = find_or_create_conversation(pinfo); - whois_trans = conversation_get_proto_data(conversation, proto_whois); + whois_trans = (whois_transaction_t *)conversation_get_proto_data(conversation, proto_whois); if (whois_trans == NULL) { whois_trans = wmem_new0(wmem_file_scope(), whois_transaction_t); conversation_add_proto_data(conversation, proto_whois, whois_trans);