From a63f954588b9eca715a2adc49bf9ee73081aeca2 Mon Sep 17 00:00:00 2001 From: "ricow@chromium.org" Date: Tue, 31 Aug 2010 12:20:22 +0000 Subject: [PATCH] Fix win64 compilation (using static_cast) Review URL: http://codereview.chromium.org/3225011 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5383 ce2b1a6d-e550-0410-aec6-3dcde31c8c00 --- src/frames.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/frames.cc b/src/frames.cc index 571aaa5..76a441b 100644 --- a/src/frames.cc +++ b/src/frames.cc @@ -316,7 +316,7 @@ void StackFrame::IteratePc(ObjectVisitor* v, Code* holder) { Address pc = *pc_address; ASSERT(holder->contains(pc)); - unsigned pc_offset = pc - holder->instruction_start(); + unsigned pc_offset = static_cast(pc - holder->instruction_start()); Object* code = holder; v->VisitPointer(&code); if (code != holder) { -- 2.7.4