From 588d039433bd617a3ea3d2ca09c9f4a51609d2b6 Mon Sep 17 00:00:00 2001 From: "ricow@chromium.org" Date: Thu, 28 Jul 2011 12:34:37 +0000 Subject: [PATCH] Fix win64 debug mode compilation Review URL: http://codereview.chromium.org/7482042 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@8757 ce2b1a6d-e550-0410-aec6-3dcde31c8c00 --- src/ic.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/ic.cc b/src/ic.cc index c5a9f3d..0d0b935 100644 --- a/src/ic.cc +++ b/src/ic.cc @@ -88,7 +88,8 @@ void IC::TraceIC(const char* type, // function and the original code. JSFunction* function = JSFunction::cast(frame->function()); function->PrintName(); - int code_offset = address() - js_code->instruction_start(); + int code_offset = + static_cast(address() - js_code->instruction_start()); PrintF("+%d", code_offset); } else { PrintF(""); -- 2.7.4