diff options
Diffstat (limited to 'ui/gtk/conversations_eth.c')
-rw-r--r-- | ui/gtk/conversations_eth.c | 2 |
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); |