<<< Date Index >>>     <<< Thread Index >>>

[PATCH] warning cleared



Another insignificant patch -- this one clears a compiler warning.

-- 
 -D.    dgc@xxxxxxxxxxxx        NSIT    University of Chicago
CVSROOT = 
Using: /opt/bin/cvs diff muttlib.c
Index: muttlib.c
===================================================================
RCS file: /home/roessler/cvs/mutt/muttlib.c,v
retrieving revision 3.36
diff -u -r3.36 muttlib.c
--- muttlib.c   17 Sep 2005 20:46:10 -0000      3.36
+++ muttlib.c   20 Sep 2005 05:38:43 -0000
@@ -1588,7 +1588,7 @@
        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];