summaryrefslogtreecommitdiff
path: root/epan/follow.c
diff options
context:
space:
mode:
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 8673cd68b4..0765201bb3 100644
--- a/epan/follow.c
+++ b/epan/follow.c
@@ -115,8 +115,8 @@ build_follow_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( pi->net_src.data),
- ip_to_str( pi->net_dst.data),
+ ip_to_str((guint8 *)pi->net_src.data),
+ ip_to_str((guint8 *)pi->net_dst.data),
pi->srcport, pi->destport );
len = 4;
is_ipv6 = FALSE;