Index: src/runtime.cc |
diff --git a/src/runtime.cc b/src/runtime.cc |
index 0fc26938f4fb607bc3919d0719dcbeacbe45b632..231d172aef64b34e56c7355f863de67775df822e 100644 |
--- a/src/runtime.cc |
+++ b/src/runtime.cc |
@@ -5428,7 +5428,7 @@ static Object* Runtime_DebugBreak(Arguments args) { |
// Helper functions for wrapping and unwrapping stack frame ids. |
static Smi* WrapFrameId(StackFrame::Id id) { |
- ASSERT(IsAligned(OffsetFrom(id), 4)); |
+ ASSERT(IsAligned(OffsetFrom(id), static_cast<intptr_t>(4))); |
return Smi::FromInt(id >> 2); |
} |