Index: src/arm/virtual-frame-arm.cc |
=================================================================== |
--- src/arm/virtual-frame-arm.cc (revision 1946) |
+++ src/arm/virtual-frame-arm.cc (working copy) |
@@ -102,7 +102,7 @@ |
// Fix any sync bit problems from the bottom-up, stopping when we |
// hit the stack pointer or the top of the frame if the stack |
// pointer is floating above the frame. |
- int limit = Min(stack_pointer_, elements_.length() - 1); |
+ int limit = Min(static_cast<int>(stack_pointer_), elements_.length() - 1); |
for (int i = 0; i <= limit; i++) { |
FrameElement source = elements_[i]; |
FrameElement target = expected->elements_[i]; |
@@ -134,7 +134,7 @@ |
// On ARM, all elements are in memory. |
#ifdef DEBUG |
- int start = Min(stack_pointer_, elements_.length() - 1); |
+ int start = Min(static_cast<int>(stack_pointer_), elements_.length() - 1); |
for (int i = start; i >= 0; i--) { |
ASSERT(elements_[i].is_memory()); |
ASSERT(expected->elements_[i].is_memory()); |