BZZZZZZZZZZZzzzzzzzzzzztttttt!  Houston, we have a problem!

    Fixed.
                                        -Matt
                                        Matthew Dillon 
                                        <dil...@backplane.com>

@@ -323,7 +323,7 @@
                        /* take only those things in the class */
                        if (flags & SUPPRESS) {
                                n = 0;
-                               while (ccltab[*inp]) {
+                               while (ccltab[(int)(unsigned char)*inp]) {
                                        n++, inr--, inp++;
                                        if (--width == 0)
                                                break;
@@ -337,7 +337,7 @@
                                        goto match_failure;
                        } else {
                                p0 = p = va_arg(ap, char *);
-                               while (ccltab[*inp]) {
+                               while (ccltab[(int)(unsigned char)*inp]) {
                                        inr--;
                                        *p++ = *inp++;
                                        if (--width == 0)



To Unsubscribe: send mail to majord...@freebsd.org
with "unsubscribe freebsd-current" in the body of the message

Reply via email to