Commit d0b27552 authored by kasperl@chromium.org's avatar kasperl@chromium.org

Fix broken build.

Review URL: http://codereview.chromium.org/6305

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@465 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent f9ec0d25
......@@ -1085,7 +1085,7 @@ static int BoyerMooreHorspoolIndexOf(Vector<const schar> subject,
// 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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment