diff --git a/lib/search/glob.c b/lib/search/glob.c index 53173261f..a99de9805 100644 --- a/lib/search/glob.c +++ b/lib/search/glob.c @@ -101,7 +101,7 @@ mc_search__glob_translate_to_regex (const GString * astr) /* --------------------------------------------------------------------------------------------- */ static GString * -mc_search__translate_replace_glob_to_regex (gchar * str) +mc_search__translate_replace_glob_to_regex (const char * str) { GString *buff; int cnt = '0';