]> granicus.if.org Git - mutt/commitdiff
Clear a compiler warning.
authorDavid Champion <dgc@bikeshed.us>
Tue, 20 Sep 2005 06:15:25 +0000 (06:15 +0000)
committerDavid Champion <dgc@bikeshed.us>
Tue, 20 Sep 2005 06:15:25 +0000 (06:15 +0000)
muttlib.c

index 8856746f7a6347cba4b633897ab7765079762115..5009932afa627944f697f352050e58aa98dd136b 100644 (file)
--- 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];