From 3ae2e5ece2d10ec6efedee69a455b0d7851755f6 Mon Sep 17 00:00:00 2001 From: Jakub Zawadzki Date: Mon, 9 Dec 2013 20:15:47 +0000 Subject: Fix warnings svn path=/trunk/; revision=53885 --- ui/gtk/conversations_eth.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ui/gtk/conversations_eth.c') 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); -- cgit v1.2.3