(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:
Andreas Mohr 2016-07-16 17:31:08 +00:00 committed by Andrew Borodin
parent b218a28a45
commit d013592eb4

View File

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