Revision: 11504
Author:   [email protected]
Date:     Thu May  3 15:19:12 2012
Log:      Fix warning on Win64

Review URL: https://chromiumcodereview.appspot.com/10372003
http://code.google.com/p/v8/source/detail?r=11504

Modified:
 /branches/bleeding_edge/src/liveedit.cc

=======================================
--- /branches/bleeding_edge/src/liveedit.cc     Thu May  3 10:31:34 2012
+++ /branches/bleeding_edge/src/liveedit.cc     Thu May  3 15:19:12 2012
@@ -1522,7 +1522,8 @@

   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;

--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to