mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-22 20:36:50 +03:00
(mc_search__translate_replace_glob_to_regex): cleanup compile warning.
glob.c:143:21: warning: implicit conversion loses integer precision: 'int' to 'char' [-Wconversion] c = ++cnt; ~ ^~~~~ Signed-off-by: Andreas Mohr <and@gmx.li> Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
parent
b218a28a45
commit
d013592eb4
@ -116,7 +116,7 @@ static GString *
|
||||
mc_search__translate_replace_glob_to_regex (const char *str)
|
||||
{
|
||||
GString *buff;
|
||||
int cnt = '0';
|
||||
char cnt = '0';
|
||||
gboolean escaped_mode = FALSE;
|
||||
|
||||
buff = g_string_sized_new (32);
|
||||
|
Loading…
Reference in New Issue
Block a user