mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-22 20:36:50 +03:00
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:
parent
a11995e12b
commit
5445133766
@ -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';
|
||||
|
Loading…
Reference in New Issue
Block a user