From 03c694258aba0eaf07004a236ec7872b0ce6e351 Mon Sep 17 00:00:00 2001 From: "whesse@chromium.org" Date: Mon, 4 Jul 2011 11:58:20 +0000 Subject: [PATCH] Fix Windows 64-bit compilation error. BUG= TEST= Review URL: http://codereview.chromium.org/7307002 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@8525 ce2b1a6d-e550-0410-aec6-3dcde31c8c00 --- src/runtime.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/runtime.cc b/src/runtime.cc index 265008136..5e96ef8e1 100644 --- a/src/runtime.cc +++ b/src/runtime.cc @@ -5759,7 +5759,7 @@ void FindAsciiStringIndices(Vector subject, pos = reinterpret_cast( memchr(pos, pattern, subject_end - pos)); if (pos == NULL) return; - indices->Add(pos - subject_start); + indices->Add(static_cast(pos - subject_start)); pos++; limit--; } -- 2.34.1