From: whesse@chromium.org Date: Mon, 4 Jul 2011 11:58:20 +0000 (+0000) Subject: Fix Windows 64-bit compilation error. X-Git-Tag: upstream/4.7.83~18983 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=03c694258aba0eaf07004a236ec7872b0ce6e351;p=platform%2Fupstream%2Fv8.git 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 --- 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--; }