aboutsummaryrefslogtreecommitdiffstats
path: root/gtk/hostlist_tcpip.c
diff options
context:
space:
mode:
Diffstat (limited to 'gtk/hostlist_tcpip.c')
-rw-r--r--gtk/hostlist_tcpip.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/hostlist_tcpip.c b/gtk/hostlist_tcpip.c
index 72f28fc9ca..f84958db3f 100644
--- a/gtk/hostlist_tcpip.c
+++ b/gtk/hostlist_tcpip.c
@@ -58,9 +58,9 @@ tcpip_hostlist_packet(void *pit, packet_info *pinfo, epan_dissect_t *edt _U_, co
static void
-gtk_tcpip_hostlist_init(char *optarg)
+gtk_tcpip_hostlist_init(const char *optarg)
{
- char *filter=NULL;
+ const char *filter=NULL;
if(!strncmp(optarg,"endpoints,tcp,",14)){
filter=optarg+14;