From 35d1b406d74101f0ec04026e9a8b2ce75d57201d Mon Sep 17 00:00:00 2001 From: Bill Meier Date: Thu, 21 Mar 2013 02:58:59 +0000 Subject: From beroset: remove C++ incompatibilities https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8416 attachment #10408 Note: The following parts of the patch had been previously done: asn1/snmp/packet-snmp-template.c epan/dissectors/packet-snmp.c epan/dissectors/packet-x11.c svn path=/trunk/; revision=48448 --- ui/gtk/hostlist_fc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ui/gtk/hostlist_fc.c') diff --git a/ui/gtk/hostlist_fc.c b/ui/gtk/hostlist_fc.c index cc054792d5..8db5fc4173 100644 --- a/ui/gtk/hostlist_fc.c +++ b/ui/gtk/hostlist_fc.c @@ -45,7 +45,7 @@ static int fc_hostlist_packet(void *pit, packet_info *pinfo, epan_dissect_t *edt _U_, const void *vip) { hostlist_table *hosts=(hostlist_table *)pit; - const fc_hdr *fchdr=vip; + const fc_hdr *fchdr=(fc_hdr *)vip; /* Take two "add" passes per packet, adding for each direction, ensures that all packets are counted properly (even if address is sending to itself) -- cgit v1.2.3