From 5445133766e92c25cf00ffacb620ae42274ca2b8 Mon Sep 17 00:00:00 2001 From: Slava Zanko Date: Fri, 21 Oct 2011 15:01:54 +0300 Subject: [PATCH] mc_search__translate_replace_glob_to_regex(): Avoid warnings ...if function is called with 'const char *' argument. Signed-off-by: Slava Zanko --- lib/search/glob.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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';