aboutsummaryrefslogtreecommitdiffstats
path: root/ui/gtk/hostlist_fc.c
diff options
context:
space:
mode:
authorBill Meier <wmeier@newsguy.com>2013-03-21 02:58:59 +0000
committerBill Meier <wmeier@newsguy.com>2013-03-21 02:58:59 +0000
commit35d1b406d74101f0ec04026e9a8b2ce75d57201d (patch)
tree0f082370b8dc5dd91106bda722e9d097a568dbb3 /ui/gtk/hostlist_fc.c
parent8112ecc321d5d2025e7b780db21f88a31d0ee472 (diff)
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
Diffstat (limited to 'ui/gtk/hostlist_fc.c')
-rw-r--r--ui/gtk/hostlist_fc.c2
1 files changed, 1 insertions, 1 deletions
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)