diff options
Diffstat (limited to 'capture_ui_utils.c')
-rw-r--r-- | capture_ui_utils.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/capture_ui_utils.c b/capture_ui_utils.c index b1307e79fa..94ac20c6ae 100644 --- a/capture_ui_utils.c +++ b/capture_ui_utils.c @@ -269,10 +269,10 @@ free_capture_combo_list(GList *combo_list) * Given text that contains an interface name possibly prefixed by an * interface description, extract the interface name. */ -char * +const char * get_if_name(const char *if_text) { - char *if_name; + const char *if_name; #ifdef _WIN32 /* |