diff src/regex.c @ 209:41ff10fd062f r20-4b3

Import from CVS: tag r20-4b3
author cvs
date Mon, 13 Aug 2007 10:04:58 +0200
parents 850242ba4a81
children 52952cbfc5b5
line wrap: on
line diff
--- a/src/regex.c	Mon Aug 13 10:03:54 2007 +0200
+++ b/src/regex.c	Mon Aug 13 10:04:58 2007 +0200
@@ -4063,7 +4063,7 @@
 #ifdef MULE
                 while (range > lim && *d < 0x80 && !fastmap[translate[*d]])
 #else
-                while (range > lim && !fastmap[translate[*d]])
+                while (range > lim && !fastmap[(unsigned char)translate[*d]])
 #endif
 		  {
 		    d_size = charcount_to_bytecount (d, 1);