diff options
author | David Mitchell <davem@iabyn.com> | 2019-09-20 11:11:36 +0100 |
---|---|---|
committer | David Mitchell <davem@iabyn.com> | 2019-09-23 14:42:00 +0100 |
commit | e615875676e357cae7ff37441ffc2d44f0daa94e (patch) | |
tree | 6912c5633cff265eaa0d20a5ab7f2372fe67934a /pp.c | |
parent | f417cfa90670b17255b02c7dc1a88924c102479f (diff) | |
download | perl-e615875676e357cae7ff37441ffc2d44f0daa94e.tar.gz |
Signatures: change param count from IV to UV
For some reason I was storing the counts of sub signature parameters and
optional parameters as signed ints. Since these can never be negative,
change them to UV instead.
Diffstat (limited to 'pp.c')
-rw-r--r-- | pp.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -7119,8 +7119,8 @@ PP(pp_argcheck) { OP * const o = PL_op; struct op_argcheck_aux *aux = (struct op_argcheck_aux *)cUNOP_AUXo->op_aux; - IV params = aux->params; - IV opt_params = aux->opt_params; + UV params = aux->params; + UV opt_params = aux->opt_params; char slurpy = aux->slurpy; AV *defav = GvAV(PL_defgv); /* @_ */ IV argc; |