mc_search__translate_replace_glob_to_regex(): Avoid warnings

...if function is called with 'const char *' argument.

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
This commit is contained in:
Slava Zanko 2011-10-21 15:01:54 +03:00 committed by Andrew Borodin
parent a11995e12b
commit 5445133766

View File

@ -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';