From 6258cbd94a9e1c8e8210c79d42579696b6130d59 Mon Sep 17 00:00:00 2001 From: Vincent Lefevre Date: Tue, 20 Sep 2005 23:41:21 +0000 Subject: [PATCH] Slight improvement on dgc's warning fix in edge cases. --- muttlib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/muttlib.c b/muttlib.c index 5009932af..56f0f179a 100644 --- a/muttlib.c +++ b/muttlib.c @@ -1588,7 +1588,7 @@ int mutt_match_spam_list (const char *s, SPAM_LIST *l, char *text, int x) if (*p == '%') { n = atoi(++p); /* find pmatch index */ - while (isdigit((int)*p)) + while (isdigit((unsigned char)*p)) ++p; /* skip subst token */ for (i = pmatch[n].rm_so; (i < pmatch[n].rm_eo) && (tlen < x); i++) text[tlen++] = s[i]; -- 2.40.0