summaryrefslogtreecommitdiff
path: root/op.h
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 /op.h
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 'op.h')
-rw-r--r--op.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/op.h b/op.h
index 7444965274..80b1d9c59c 100644
--- a/op.h
+++ b/op.h
@@ -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 '%' */
};