diff options
Diffstat (limited to 'runtime/stack.h')
-rw-r--r-- | runtime/stack.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/stack.h b/runtime/stack.h index c594ec6a39..cf33ae1a6a 100644 --- a/runtime/stack.h +++ b/runtime/stack.h @@ -734,7 +734,7 @@ class StackVisitor { static int GetOutVROffset(uint16_t out_num, InstructionSet isa) { // According to stack model, the first out is above the Method referernce. - return InstructionSetPointerSize(isa) + out_num * sizeof(uint32_t); + return static_cast<size_t>(InstructionSetPointerSize(isa)) + out_num * sizeof(uint32_t); } bool IsInInlinedFrame() const { |