Squelch more const warnings (and fix some memory leaks that found).
[obnox/wireshark/wip.git] / gtk / hostlist_wlan.c
index 07de604544c9f458eb2d1628517d9d98717548b5..65e0fe338bcee5e1a99b8ecf793fff4d3ed13325 100644 (file)
@@ -56,9 +56,9 @@ wlan_hostlist_packet(void *pit, packet_info *pinfo, epan_dissect_t *edt _U_, con
 }
 
 static void
-gtk_wlan_hostlist_init(char *optarg)
+gtk_wlan_hostlist_init(const char *optarg)
 {
-        char *filter=NULL;
+        const char *filter=NULL;
 
         if(!strncmp(optarg,"hosts,wlan,",11)){
                 filter=optarg+11;