From: David Champion Date: Tue, 20 Sep 2005 06:15:25 +0000 (+0000) Subject: Clear a compiler warning. X-Git-Tag: mutt-1-5-12-rel~361 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=39ba1a482f8a53390bcddc953bc594198d3bc0f0;p=mutt Clear a compiler warning. --- diff --git a/muttlib.c b/muttlib.c index 8856746f..5009932a 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(*p)) + while (isdigit((int)*p)) ++p; /* skip subst token */ for (i = pmatch[n].rm_so; (i < pmatch[n].rm_eo) && (tlen < x); i++) text[tlen++] = s[i];