Fix VarPtr() on function arguments.
[GB.JIT] * BUG: Fix VarPtr() on function arguments.
This commit is contained in:
parent
191db990d8
commit
6a0e3dbc4d
1 changed files with 1 additions and 1 deletions
|
@ -2268,7 +2268,7 @@ static void push_subr_varptr(ushort code)
|
|||
{
|
||||
if ((op & 0xFF00) == C_PUSH_PARAM)
|
||||
{
|
||||
index = _func->n_param + (op & 0xFF);
|
||||
index = _func->n_param + (signed char)(op & 0xFF);
|
||||
type = _func->param[index].type;
|
||||
sprintf(var, "p%d", index);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue