Chromium Code Reviews| Index: src/runtime.cc |
| diff --git a/src/runtime.cc b/src/runtime.cc |
| index 265008136e72cb21c8b4d264f108f02ce4c5fef9..5e96ef8e1c38cb77352c3a33d5169e5294582f53 100644 |
| --- a/src/runtime.cc |
| +++ b/src/runtime.cc |
| @@ -5759,7 +5759,7 @@ void FindAsciiStringIndices(Vector<const char> subject, |
| pos = reinterpret_cast<const char*>( |
| memchr(pos, pattern, subject_end - pos)); |
| if (pos == NULL) return; |
| - indices->Add(pos - subject_start); |
| + indices->Add(static_cast<int>(pos - subject_start)); |
| pos++; |
| limit--; |
| } |