Chromium Code Reviews| Index: src/runtime.cc |
| =================================================================== |
| --- src/runtime.cc (revision 464) |
| +++ src/runtime.cc (working copy) |
| @@ -1085,7 +1085,7 @@ |
| // of character equivalence class is the one registered. |
| // Notice: Doesn't include last character. |
| for (int i = p < m ? m - p : 0; i < m - 1; i++) { |
| - pchar c = pattern[i]; |
| + uc32 c = pattern[i]; |
| if (sizeof(schar) == 1 && c > 255) return -1; |
| bad_char_map[c & kBMHSignificantBitsMask] = m - 1 - i; |
| } |