Copy the correct number of words for rcall

This commit is contained in:
Bill Currie 2020-02-16 17:58:36 +09:00
parent f5741a979e
commit 12d2a0ff75

View file

@ -204,7 +204,7 @@ PR_EnterFunction (progs_t *pr, bfunction_t *f)
for (; i < MAX_PARMS; i++) { for (; i < MAX_PARMS; i++) {
if (pr->pr_params[i] != pr->pr_real_params[i]) { if (pr->pr_params[i] != pr->pr_real_params[i]) {
copy_param (pr->pr_real_params[i], pr->pr_params[i], copy_param (pr->pr_real_params[i], pr->pr_params[i],
f->parm_size[i].size); parmsize.size);
} }
} }
} }