comparison 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
comparison
equal deleted inserted replaced
208:f427b8ec4379 209:41ff10fd062f
4061 inside the loop. */ 4061 inside the loop. */
4062 if (translate) 4062 if (translate)
4063 #ifdef MULE 4063 #ifdef MULE
4064 while (range > lim && *d < 0x80 && !fastmap[translate[*d]]) 4064 while (range > lim && *d < 0x80 && !fastmap[translate[*d]])
4065 #else 4065 #else
4066 while (range > lim && !fastmap[translate[*d]]) 4066 while (range > lim && !fastmap[(unsigned char)translate[*d]])
4067 #endif 4067 #endif
4068 { 4068 {
4069 d_size = charcount_to_bytecount (d, 1); 4069 d_size = charcount_to_bytecount (d, 1);
4070 range -= d_size; 4070 range -= d_size;
4071 d += d_size; /* Speedier INC_CHARPTR(d) */ 4071 d += d_size; /* Speedier INC_CHARPTR(d) */