Squelch more const warnings (and fix some memory leaks that found).
[obnox/wireshark/wip.git] / tap-protohierstat.c
index f52dfca00e973d8ff8099f28c178b5c3cbfd2ddf..ac3721a66d5857db1e2c5ac8ab52ea30f928fb90 100644 (file)
@@ -166,11 +166,11 @@ protohierstat_draw(void *prs)
 
 
 static void
-protohierstat_init(char *optarg)
+protohierstat_init(const char *optarg)
 {
        phs_t *rs;
        int pos=0;
-       char *filter=NULL;
+       const char *filter=NULL;
        GString *error_string;
 
        if(!strcmp("io,phs",optarg)){