Squelch more const warnings (and fix some memory leaks that found).
[obnox/wireshark/wip.git] / tap-stats_tree.c
index 732154ff67eda462eb2d782a37c272b0241f987f..9533ac533a6f4f06909da09d8ed57d698c0ba6da 100644 (file)
@@ -67,7 +67,7 @@ static void draw_stats_tree(void *psp) {
        
 }
 
-static void  init_stats_tree(char *optarg) {
+static void  init_stats_tree(const char *optarg) {
        guint8* abbr = stats_tree_get_abbr(optarg);
        GString *error_string;
        stats_tree_cfg *cfg = NULL;