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/conversations_sctp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ui/gtk/conversations_sctp.c') diff --git a/ui/gtk/conversations_sctp.c b/ui/gtk/conversations_sctp.c index 3c5a3b067f..e02783b940 100644 --- a/ui/gtk/conversations_sctp.c +++ b/ui/gtk/conversations_sctp.c @@ -41,7 +41,7 @@ static int sctp_conversation_packet(void *pct, packet_info *pinfo, epan_dissect_t *edt _U_, const void *vip) { - const struct _sctp_info *sctphdr=vip; + const struct _sctp_info *sctphdr=(struct _sctp_info *)vip; add_conversation_table_data((conversations_table *)pct, &sctphdr->ip_src, -- cgit v1.2.3