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 /op.h | |
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 'op.h')
-rw-r--r-- | op.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1116,8 +1116,8 @@ C<sib> is non-null. For a higher-level interface, see C<L</op_sibling_splice>>. /* stuff for OP_ARGCHECK */ struct op_argcheck_aux { - IV params; /* number of positional parameters */ - IV opt_params; /* number of optional positional parameters */ + UV params; /* number of positional parameters */ + UV opt_params; /* number of optional positional parameters */ char slurpy; /* presence of slurpy: may be '\0', '@' or '%' */ }; |