More 'char*' -> 'const char*' changes to fix warnings.
[obnox/wireshark/wip.git] / tap-iousers.c
index f20137e816b80f83703139ac3255250b8b9f899f..1b1499ae123fb5a4ad22104e70983e70dad6dd69 100644 (file)
@@ -50,7 +50,7 @@
 #include <string.h>
 
 typedef struct _io_users_t {
-       char *type;
+       const char *type;
        char *filter;
        struct _io_users_item_t *items;
 } io_users_t;
@@ -582,7 +582,7 @@ void
 iousers_init(char *optarg)
 {
        char *filter=NULL;
-       char *tap_type, *tap_type_name;
+       const char *tap_type, *tap_type_name;
        tap_packet_cb packet_func;
        io_users_t *iu=NULL;
        GString *error_string;