Don't cast away constness.

svn path=/trunk/; revision=54753
This commit is contained in:
Guy Harris 2014-01-14 02:25:20 +00:00
parent 88e3e47bfd
commit 7b32b5c14a
1 changed files with 1 additions and 1 deletions

View File

@ -528,7 +528,7 @@ static int
ancp_stats_tree_packet(stats_tree* st, packet_info* pinfo _U_,
epan_dissect_t* edt _U_ , const void* p)
{
struct ancp_tap_t *pi = (struct ancp_tap_t *) p;
const struct ancp_tap_t *pi = (const struct ancp_tap_t *) p;
tick_stat_node(st, st_str_packets, 0, FALSE);
stats_tree_tick_pivot(st, st_node_packet_types,