summaryrefslogtreecommitdiff
path: root/pp.c
diff options
context:
space:
mode:
authorDavid Mitchell <davem@iabyn.com>2019-09-20 11:11:36 +0100
committerDavid Mitchell <davem@iabyn.com>2019-09-23 14:42:00 +0100
commite615875676e357cae7ff37441ffc2d44f0daa94e (patch)
tree6912c5633cff265eaa0d20a5ab7f2372fe67934a /pp.c
parentf417cfa90670b17255b02c7dc1a88924c102479f (diff)
downloadperl-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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/pp.c b/pp.c
index f33569435e..062d0f2e37 100644
--- a/pp.c
+++ b/pp.c
@@ -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;