summaryrefslogtreecommitdiff
path: root/universal.c
diff options
context:
space:
mode:
authorDavid Mitchell <davem@iabyn.com>2015-04-18 18:47:14 +0100
committerDavid Mitchell <davem@iabyn.com>2015-04-18 18:56:28 +0100
commitde5fee32c31a31f94979c590c459eb6575d5767d (patch)
tree270498f142442d935e80bf429319296ef60f32bf /universal.c
parent3ee1a09cee3f9a1b093b52ce2069c1d1c9b35637 (diff)
downloadperl-de5fee32c31a31f94979c590c459eb6575d5767d.tar.gz
fix some minor compiler warnings
S_deb_curcv's first param differed in constness between declaration and definition. GIMME_V can return an I32, so don't assign it to a U8.
Diffstat (limited to 'universal.c')
-rw-r--r--universal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/universal.c b/universal.c
index 1b4e5506aa..2e446dd6d9 100644
--- a/universal.c
+++ b/universal.c
@@ -903,7 +903,7 @@ XS(XS_re_regexp_pattern)
{
dXSARGS;
REGEXP *re;
- U8 const gimme = GIMME_V;
+ I32 const gimme = GIMME_V;
EXTEND(SP, 2);
SP -= items;