Fix warning on Win64

Review URL: https://chromiumcodereview.appspot.com/10372003

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11504 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
peter.rybin@gmail.com 2012-05-03 22:19:12 +00:00
parent 885c142d24
commit a33c883008

View File

@ -1522,7 +1522,8 @@ static const char* DropFrames(Vector<StackFrame*> frames,
if (unused_stack_top > unused_stack_bottom) {
if (frame_has_padding) {
int shortage_bytes = unused_stack_top - unused_stack_bottom;
int shortage_bytes =
static_cast<int>(unused_stack_top - unused_stack_bottom);
Address padding_start = pre_top_frame->fp() -
Debug::FramePaddingLayout::kFrameBaseSize * kPointerSize;