aboutsummaryrefslogtreecommitdiffstats
path: root/ui/gtk/conversations_tcpip.c
diff options
context:
space:
mode:
authorJakub Zawadzki <darkjames-ws@darkjames.pl>2013-12-09 20:15:47 +0000
committerJakub Zawadzki <darkjames-ws@darkjames.pl>2013-12-09 20:15:47 +0000
commit3ae2e5ece2d10ec6efedee69a455b0d7851755f6 (patch)
tree131887c2cae092d5fcc52efb0fddd434bd38c533 /ui/gtk/conversations_tcpip.c
parent8aebe159657d9df2b1688b0e4cf5d5b75c6d30f7 (diff)
Fix warnings
svn path=/trunk/; revision=53885
Diffstat (limited to 'ui/gtk/conversations_tcpip.c')
-rw-r--r--ui/gtk/conversations_tcpip.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/gtk/conversations_tcpip.c b/ui/gtk/conversations_tcpip.c
index f986693fd3..bbe9048a67 100644
--- a/ui/gtk/conversations_tcpip.c
+++ b/ui/gtk/conversations_tcpip.c
@@ -41,7 +41,7 @@
static int
tcpip_conversation_packet(void *pct, packet_info *pinfo, epan_dissect_t *edt _U_, const void *vip)
{
- const struct tcpheader *tcphdr=(struct tcpheader *)vip;
+ const struct tcpheader *tcphdr=(const struct tcpheader *)vip;
add_conversation_table_data_with_conv_id((conversations_table *)pct, &tcphdr->ip_src, &tcphdr->ip_dst, tcphdr->th_sport, tcphdr->th_dport, (conv_id_t) tcphdr->th_stream, 1, pinfo->fd->pkt_len, &pinfo->rel_ts, SAT_NONE, PT_TCP);