aboutsummaryrefslogtreecommitdiffstats
path: root/ui/gtk/conversations_eth.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_eth.c
parent8aebe159657d9df2b1688b0e4cf5d5b75c6d30f7 (diff)
Fix warnings
svn path=/trunk/; revision=53885
Diffstat (limited to 'ui/gtk/conversations_eth.c')
-rw-r--r--ui/gtk/conversations_eth.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/gtk/conversations_eth.c b/ui/gtk/conversations_eth.c
index 513579a1d9..12ef06f74c 100644
--- a/ui/gtk/conversations_eth.c
+++ b/ui/gtk/conversations_eth.c
@@ -41,7 +41,7 @@
static int
eth_conversation_packet(void *pct, packet_info *pinfo, epan_dissect_t *edt _U_, const void *vip)
{
- const eth_hdr *ehdr=(eth_hdr *)vip;
+ const eth_hdr *ehdr=(const eth_hdr *)vip;
add_conversation_table_data((conversations_table *)pct, &ehdr->src, &ehdr->dst, 0, 0, 1, pinfo->fd->pkt_len, &pinfo->rel_ts, SAT_ETHER, PT_NONE);