Squelch more const warnings (and fix some memory leaks that found).
[obnox/wireshark/wip.git] / gtk / sip_stat.c
index 3f5dbc77d677e2dc05b2b2b3b687241e3382dde3..cff8020079d7680fe078fa85080595179ada6f76 100644 (file)
@@ -498,10 +498,10 @@ win_destroy_cb(GtkWindow *win _U_, gpointer data)
 
 /* Create a new instance of gtk_sipstat. */
 static void
-gtk_sipstat_init(char *optarg)
+gtk_sipstat_init(const char *optarg)
 {
     sipstat_t *sp;
-    char *filter = NULL;
+    const char *filter = NULL;
     GString    *error_string;
     char *title = NULL;
     GtkWidget  *main_vb, *separator,