Fix warning on Win64
authorpeter.rybin@gmail.com <peter.rybin@gmail.com@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Thu, 3 May 2012 22:19:12 +0000 (22:19 +0000)
committerpeter.rybin@gmail.com <peter.rybin@gmail.com@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Thu, 3 May 2012 22:19:12 +0000 (22:19 +0000)
Review URL: https://chromiumcodereview.appspot.com/10372003

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11504 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

src/liveedit.cc

index 2bab88f..22b8250 100644 (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;