Chromium Code Reviews| Index: src/ic.cc |
| =================================================================== |
| --- src/ic.cc (revision 8749) |
| +++ src/ic.cc (working copy) |
| @@ -88,7 +88,8 @@ |
| // 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<int>(address() - js_code->instruction_start()); |
| PrintF("+%d", code_offset); |
| } else { |
| PrintF("<unknown>"); |