mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-04 10:19:23 +02:00
GT-3214 corrected function parameter ordinal numbering when more than
one auto-parameter is present
This commit is contained in:
parent
0077735568
commit
5904b7d37d
2 changed files with 106 additions and 31 deletions
|
@ -826,7 +826,7 @@ public class FunctionDB extends DatabaseObject implements Function {
|
|||
DataType dt = VariableUtilities.getAutoDataType(this,
|
||||
returnParam.getFormalDataType(), storage);
|
||||
try {
|
||||
autoParams.add(new AutoParameterImpl(dt, autoIndex, storage, this));
|
||||
autoParams.add(new AutoParameterImpl(dt, autoIndex++, storage, this));
|
||||
}
|
||||
catch (InvalidInputException e) {
|
||||
Msg.error(this,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue