Reviewers: Yang,
Message:
[email protected]
I'm fixing the warning similarly to how it's done in the same file
(static_cast
to 'int').
Peter
Description:
Fix warning on Win64
Please review this at http://codereview.chromium.org/10372003/
SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge
Affected files:
M src/liveedit.cc
Index: src/liveedit.cc
diff --git a/src/liveedit.cc b/src/liveedit.cc
index
2bab88f72ecb6ba3a149aff915d784e76cb8744a..22b82501e91f244b7bf16839e30ffb295c51e34d
100644
--- a/src/liveedit.cc
+++ b/src/liveedit.cc
@@ -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;
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev