summaryrefslogtreecommitdiff
path: root/proto.h
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 /proto.h
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 'proto.h')
-rw-r--r--proto.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/proto.h b/proto.h
index f45a4a3617..53f62700d3 100644
--- a/proto.h
+++ b/proto.h
@@ -6043,7 +6043,7 @@ STATIC I32 S_do_trans_simple_utf8(pTHX_ SV * const sv)
#endif
#if defined(PERL_IN_DUMP_C)
-STATIC CV* S_deb_curcv(pTHX_ const I32 ix);
+STATIC CV* S_deb_curcv(pTHX_ I32 ix);
STATIC void S_debprof(pTHX_ const OP *o)
__attribute__nonnull__(pTHX_1);
#define PERL_ARGS_ASSERT_DEBPROF \