aboutsummaryrefslogtreecommitdiffstats
path: root/epan/follow.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2014-01-14 18:19:31 +0000
committerGuy Harris <guy@alum.mit.edu>2014-01-14 18:19:31 +0000
commitafc159eaf372bac35c9a71cf3208064e692cd1e4 (patch)
tree0f7de706d1443e20014f0501620cacf162be9aa5 /epan/follow.c
parent11220f625c38e6e1413f76e592d90d3ce6e74545 (diff)
Don't cast away constness.
svn path=/trunk/; revision=54798
Diffstat (limited to 'epan/follow.c')
-rw-r--r--epan/follow.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/follow.c b/epan/follow.c
index 4de1e9fe45..fe17c1740c 100644
--- a/epan/follow.c
+++ b/epan/follow.c
@@ -137,8 +137,8 @@ build_follow_conv_filter( packet_info *pi ) {
/* UDP over IPv4 */
buf = g_strdup_printf(
"(ip.addr eq %s and ip.addr eq %s) and (udp.port eq %d and udp.port eq %d)",
- ip_to_str((guint8 *)pi->net_src.data),
- ip_to_str((guint8 *)pi->net_dst.data),
+ ip_to_str((const guint8 *)pi->net_src.data),
+ ip_to_str((const guint8 *)pi->net_dst.data),
pi->srcport, pi->destport );
len = 4;
is_ipv6 = FALSE;