summaryrefslogtreecommitdiff
path: root/lowlevelilinstruction.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lowlevelilinstruction.cpp')
-rw-r--r--lowlevelilinstruction.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/lowlevelilinstruction.cpp b/lowlevelilinstruction.cpp
index 1522596b..f185b274 100644
--- a/lowlevelilinstruction.cpp
+++ b/lowlevelilinstruction.cpp
@@ -2510,11 +2510,11 @@ int64_t LowLevelILInstruction::GetVector() const
}
-size_t LowLevelILInstruction::GetStackAdjustment() const
+int64_t LowLevelILInstruction::GetStackAdjustment() const
{
size_t operandIndex;
if (GetOperandIndexForUsage(StackAdjustmentLowLevelOperandUsage, operandIndex))
- return (size_t)GetRawOperandAsInteger(operandIndex);
+ return GetRawOperandAsInteger(operandIndex);
throw LowLevelILInstructionAccessException();
}
@@ -3181,7 +3181,7 @@ ExprId LowLevelILFunction::Call(ExprId dest, const ILSourceLocation& loc)
}
-ExprId LowLevelILFunction::CallStackAdjust(ExprId dest, size_t adjust,
+ExprId LowLevelILFunction::CallStackAdjust(ExprId dest, int64_t adjust,
const std::map<uint32_t, int32_t>& regStackAdjust, const ILSourceLocation& loc)
{
vector<size_t> list;